A multilingual, Apache-2.0 drop-in replacement for ElKulako/cryptobert
with the same label ids: 0: Bearish, 1: Neutral, 2: Bullish. It reads one short crypto post and says whether the
author expects or positions for the price to go up, down, or neither.
id2label and label2id are identical to cryptobert's (names, ids and capitalisation). cryptobert's own
card snippet runs unchanged apart from the model name (below).onnx/model.onnx fp32, onnx/model_fp16.onnx, onnx/model_quantized.onnx with
int8 embeddings), transformers.js.Requires transformers >= 4.48 (ModernBERT architecture). It is not a RoBERTa model: code that loads cryptobert through
the Auto* classes works unchanged; code that names RobertaForSequenceClassification or RobertaTokenizer
directly must switch to the Auto* classes.
This is the snippet from cryptobert's model card. Only model_name and the example posts are changed.
from transformers import TextClassificationPipeline, AutoModelForSequenceClassification, AutoTokenizer
model_name = "freeweight/crypto-sentiment-small" # was "ElKulako/cryptobert"
tokenizer = AutoTokenizer.from_pretrained(model_name, use_fast=True)
model = AutoModelForSequenceClassification.from_pretrained(model_name, num_labels=3)
pipe = TextClassificationPipeline(model=model, tokenizer=tokenizer, max_length=64, truncation=True, padding='max_length')
post_1 = "loaded another bag of $QFX at 0.42, not selling a single one until 2 🚀"
post_2 = "sold everything. this market is cooked, see you 40% lower"
post_3 = "should I buy QFX now or wait for a pullback?"
preds = pipe([post_1, post_2, post_3])
print(preds)
# [{'label': 'Bullish', 'score': ...}, {'label': 'Bearish', 'score': ...}, {'label': 'Neutral', 'score': ...}]
We tested exactly this call (64 tokens, padding='max_length'): the label maps are identical to cryptobert's and the
pipeline output equals a plain forward pass on all 200 checked items. You do not need cryptobert's preprocessing
(lowercasing, removing URLs, @users, cashtags and hashtags). Give the model the raw post. Lowercased input still
works: on the real-world test the snippet scores 52.8 macro-F1 with raw input and 52.7 lowercased; on TFNS-val 51.7
raw and 49.7 lowercased.
from transformers import pipeline
clf = pipeline("text-classification", model="freeweight/crypto-sentiment-small")
clf("$QFX 这波反弹就是诱多,我已经全部清仓了,等 0.2 再说 📉")
# [{'label': 'Bearish', 'score': ...}]
clf("QFX'te düşüşü fırsat bildim, biraz daha ekledim. Hedef 1 dolar 🚀", top_k=3) # all three labels with scores
The examples on this page use invented token names.
import numpy as np
import onnxruntime as ort
from huggingface_hub import hf_hub_download
from transformers import AutoConfig, AutoTokenizer
repo = "freeweight/crypto-sentiment-small"
tok = AutoTokenizer.from_pretrained(repo)
labels = AutoConfig.from_pretrained(repo).id2label
sess = ort.InferenceSession(hf_hub_download(repo, "onnx/model_quantized.onnx"))
enc = tok(["Vendí todo mi $NRTH, esto es un rebote del gato muerto y se va a 0,10"],
truncation=True, max_length=128, padding=True, return_tensors="np")
names = {i.name for i in sess.get_inputs()}
logits = sess.run(None, {k: v for k, v in enc.items() if k in names})[0]
probs = np.exp(logits - logits.max(-1, keepdims=True))
probs /= probs.sum(-1, keepdims=True) # already calibrated
print(labels[int(probs[0].argmax())], float(probs[0].max()))
import { pipeline } from "@huggingface/transformers";
const clf = await pipeline("text-classification", "freeweight/crypto-sentiment-small", { dtype: "q8" });
const out = await clf("QFX 지금 사도 될까요, 아니면 조정을 기다려야 할까요?");
Use dtype: "fp16" or dtype: "fp32" for the other two files.
| File | Size | Label agreement with PyTorch fp32 | CPU median per item |
|---|---|---|---|
model.safetensors (PyTorch, fp32) |
563 MB | reference | 91 ms |
onnx/model.onnx (fp32) |
563 MB | 1.000 | 67 ms |
onnx/model_fp16.onnx |
282 MB | 1.000 | 71 ms |
onnx/model_quantized.onnx (int8 on the embedding table only) |
268 MB | 0.997 | 66 ms |
Agreement was measured on 1,000 real-test items. Latency is the median per item on 8 CPU threads at about 51 tokens.
| Id | Label | The author ... |
|---|---|---|
| 0 | Bearish |
expects, hopes for or positions for the price of the main asset to go down |
| 1 | Neutral |
takes neither side, or both sides equally |
| 2 | Bullish |
expects, hopes for or positions for the price of the main asset to go up |
The label is the author's stance on the price, not the emotional tone of the post. How boundary cases are decided (the model was trained and evaluated with these rules):
Bearish. "Down 70% and hate this, but I'm buying more" is Bullish.
"Took profit on everything, sitting in stables" is Bearish.Bullish).Neutral.Bearish.Bearish; a generic warning is Neutral; a post
that pumps a token is Bullish (the label is the stance of the text, not a judgement of it).Bearish or Bullish only when the market reading is unambiguous (a hack
with stolen funds, a withdrawal halt, a delisting from a major exchange; a spot ETF approval, a listing on a major
exchange). Partnerships, upgrade dates, hearings, unlock schedules and price-data relays are Neutral.Neutral.A label is not a judgement of whether the post is true, and it is not a trading signal.
All numbers were computed by us. They are macro-F1 in percent; brackets are 95% bootstrap intervals; "acc" is accuracy. Differences are this model minus the other model on the same items (paired bootstrap).
Models compared:
ElKulako/cryptobert, shown twice: with the raw post, and with its own preprocessing (lowercased;
URLs, @users, cashtags and hashtags removed).Horizon-Labs/multilingual-sentiment-base and
cardiffnlp/twitter-xlm-roberta-base-sentiment (XLM-T). They predict negative, neutral or positive tone. We mapped
negative to Bearish and positive to Bullish. They were not built for this label scheme, so this is a proxy.StephanAkkerman/FinTwitBERT-sentiment, an English finance-tweet stance model.These four sets were labelled by people, and none of their text was used in training. They are the firmest evidence on this page.
| Set (items) | This model | cryptobert, raw input | cryptobert, own preprocessing | Horizon-Labs base (tone) | XLM-T (tone) | FinTwitBERT |
|---|---|---|---|---|---|---|
| TFNS-val, English finance tweets (2,388) | 51.7 [49.3–54.0], acc 63.0 | 36.6, acc 60.2 | 40.7, acc 59.8 | 54.6, acc 67.3 | 46.5, acc 59.7 | 79.5 (trained on TFNS) |
| FiQA-2018 posts, English (722) | 48.6 [45.4–51.8], acc 56.1 | 33.1, acc 34.9 | 45.6, acc 50.8 | 38.5, acc 41.6 | 31.1, acc 31.2 | 62.7 (its training mix includes FiQA) |
| Surge crypto, English, Bullish and Bearish only (552) | 73.4 [69.9–76.9] | 72.5 | 77.6 | 83.2 | 73.9 | 89.3 |
| Polish crypto tweets, 3 annotators (320) | 49.4 [43.1–55.7], acc 57.5 | 37.5 | 37.5 | 55.4 | 50.4 | 21.7 |
Surge has only Bullish and Bearish gold labels; its scores are over those two classes.
Difference to cryptobert (this model minus cryptobert):
| Set | vs cryptobert, raw input | vs cryptobert, own preprocessing |
|---|---|---|
| TFNS-val | +15.1 [+12.2, +18.2] | +11.0 [+7.9, +14.2] |
| FiQA posts | +15.6 [+11.7, +19.6] | +3.0 [−0.7, +6.5] |
| Surge | +0.9 [−3.4, +5.5] | −4.3 [−8.5, +0.3] |
| Polish | +11.9 [+4.1, +19.9] | +11.9 |
How to read this:
Horizon-Labs/multilingual-sentiment-base is ahead on TFNS-val, Surge and Polish; XLM-T is ahead on Surge and
Polish. On these sets tone and stance mostly coincide, and a tone model needs no crypto-specific training to do well.
This model is ahead of both only on FiQA posts.Posts from 2026-08-01 to 2026-11-18, collected from Bluesky and public Telegram channels in 14 languages.
Read this first: these labels are made by models, not by people. Two open models from different families (gpt-oss-120b and gemma-4-31B-it) labelled every post independently with the same written guideline. Nothing was verified by a human. Agreement between the two (Cohen's κ) is 0.60, which is moderate: stance is hard to label.
gpt-oss-120b also filtered the training rows. It is half of the test labelling and also part of training. The gemma-only view is therefore the cautious one: gemma-4-31B-it had no part in training.
| View (items) | This model | Horizon-Labs base (tone) | XLM-T (tone) | cryptobert, raw input | cryptobert, own preprocessing |
|---|---|---|---|---|---|
| Agreed labels (5,424) | 51.9 [50.3–53.4], acc 64.2 | 41.7 [40.3–43.2] | 40.3 [38.9–41.7] | 33.5 [32.3–34.7] | 34.5 |
| Gemma-only labels (9,909) | 48.1 [46.9–49.3], acc 64.5 | 42.1 [40.9–43.2] | 38.9 [37.9–40.0] | 34.6 [33.7–35.5] | not run |
The lead over the Horizon-Labs tone model is +10.2 [+8.2, +12.1] on agreed labels and shrinks to +6.0 on gemma-only labels. An absolute score near 50 is modest: about half of the directional posts are still mislabelled (per-class table below).
| Language (items) | This model | Horizon-Labs base (tone) | XLM-T (tone) | cryptobert |
|---|---|---|---|---|
| en (529) | 53.9 | 50.1 | 47.5 | 35.9 |
| zh (482) | 48.9 | 32.8 | 34.5 | 26.0 |
| ko (495) | 42.7 | 25.0 | 25.5 | 30.8 |
| ja (479) | 50.1 | 48.4 | 44.4 | 31.0 |
| tr (501) | 59.3 | 31.7 | 34.5 | 31.5 |
| es (492) | 47.6 | 44.8 | 42.8 | 31.3 |
| ru (537) | 50.0 | 44.0 | 38.6 | 26.6 |
| pt (506) | 53.8 | 42.6 | 44.8 | 30.4 |
| vi (185) | 41.5 | 51.4 | 45.3 | 29.7 |
| de (260) | 56.7 | 51.4 | 38.5 | 33.5 |
| fr (217) | 46.8 | 44.6 | 37.7 | 38.9 |
| nl (218) | 53.8 | 43.4 | 39.4 | 30.3 |
| pl (161) | 34.1 | 27.0 | 21.1 | 23.8 |
| uk (155) | 41.1 | 33.0 | 39.8 | 33.1 |
| Class | Agreed labels: precision / recall / F1 (items) | Gemma-only labels: precision / recall / F1 |
|---|---|---|
| Bearish | 49.7 / 22.1 / 30.6 (1,297) | 39.2 / 20.7 / 27.1 |
| Neutral | 67.7 / 85.3 / 75.5 (3,321) | not computed |
| Bullish | 54.7 / 45.2 / 49.5 (806) | 45.4 / 36.3 / 40.4 |
The model finds about one in five Bearish posts and under half of the Bullish ones. Most misses are called Neutral.
One temperature (T = 5.75) was fitted on a separate dev set of 801 real posts and baked into the classifier head:
weight and bias are divided by T. Before this the model was strongly overconfident on real text. pipeline() and all
three ONNX files return the calibrated scores, and the predicted label is unchanged. Expected calibration error on the
agreed real-world test: 0.139 before, 0.069 after.
We also tried shifting the class prior toward the real-world mix (about 70% Neutral on the dev set against 34% in training). It made macro-F1 worse on held-out dev data, so it is not applied.
Horizon-Labs/multilingual-sentiment-base.209,717 training rows (plus 6,476 for validation) in 20 languages. All training text is synthetic.
| Source | Used as | Licence |
|---|---|---|
| Synthetic posts written by Qwen3.8-27B from seed lists (no real post was used as a seed) | Training text. A row was kept only when the intended label, a second pass by the same model and gpt-oss-120b's label all agree | Model output; model licence Apache-2.0 |
jhu-clsp/mmBERT-small |
Base model | MIT |
ElKulako/cryptobert for compatibility. No cryptobert weights, data or outputs were
used.Keeping training apart from the test:
Training: 2 epochs, max length 128 tokens, learning rate 5e-5. The checkpoint was selected on the mean macro-F1 over the synthetic validation set and the real dev set.
onnx/model.onnx 563 MBmodel.safetensors 563 MBonnx/model_fp16.onnx 282 MBonnx/model_quantized.onnx 268 MBjhu-clsp/mmBERT-small