CoolFace
Modelpublic

cv43/llmpot

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes168downloads
Model Card

Model

This is a sample finetuned model produced under LLMPot research project and explained further in the related research manuscript.

How to Use

This model is a fine-tuned version of `google/byt5-small` for Modbus protocol emulation.

Make sure you have transformers and torch installed:

bash
pip install transformers torch

Load the model and run a single inference.

python
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM, pipeline

tokenizer = AutoTokenizer.from_pretrained("cv43/llmpot")
model = AutoModelForSeq2SeqLM.from_pretrained("cv43/llmpot")

pipe = pipeline("text2text-generation", model=model, tokenizer=tokenizer, framework="pt")

request = "02b10000000b00100000000204ffffffff"
result = pipe(request)
print(f"Request: {request}, Response: {result[0]['generated_text']}")

Otherwise you may use our Space application where the model is running on the cloud.