Downloads · 30 days
3
4% of all-time downloads
jovima/bilstm-stego-geometric
bilstm-stego-geometric is a machine learning model from jovima. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Downloads · 30 days
3
4% of all-time downloads
All-time downloads
75
Public
Repo size
43.1 MB
Likes
0
Public
Click a slice to open those files.
.bin43.1 MB · 98%
From the Hugging Face model README
Exported from:
checkpoints/paper/stego-bilstm-word2vec-paper-lr0.0001-epoch=07-val_f1=0.84.ckptcheckpoints/paper/vocab.pklfrom transformers import AutoModelForSequenceClassification, AutoTokenizer
repo_or_path = "bilstm-stego-geometric"
tokenizer = AutoTokenizer.from_pretrained(repo_or_path, trust_remote_code=True)
model = AutoModelForSequenceClassification.from_pretrained(repo_or_path, trust_remote_code=True)
inputs = tokenizer("Example sentence to classify.", return_tensors="pt", truncation=True, padding=True)
outputs = model(**inputs)
pred = outputs.logits.argmax(dim=-1).item()
print(pred) # 0=CLEAN, 1=STEGO