davanstrien / lfm25-encoder-agnews-smoke

huggingface.co
Total runs: 16
24-hour runs: 1
7-day runs: 4
30-day runs: 7
Model's Last Updated: July 29 2026
text-classification

Introduction of lfm25-encoder-agnews-smoke

Model Details of lfm25-encoder-agnews-smoke

lfm25-encoder-agnews-smoke

LiquidAI/LFM2.5-Encoder-350M fine-tuned for single-label text classification on fancyzhx/ag_news .

  • Labels (4) : World , Sports , Business , Sci/Tech
  • Date : 2026-07-28 16:37 UTC

This model uses a custom classification head (mean pooling over a backbone without a native sequence-classification class), so loading requires trust_remote_code=True . vLLM serving requires a standard architecture.

Evaluation
Metric Value
accuracy 0.7575
f1_macro 0.7568
Usage
from transformers import AutoModelForSequenceClassification, AutoTokenizer

model = AutoModelForSequenceClassification.from_pretrained("davanstrien/lfm25-encoder-agnews-smoke", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("davanstrien/lfm25-encoder-agnews-smoke", trust_remote_code=True)

inputs = tokenizer("your text here", return_tensors="pt", truncation=True)
print(model.config.id2label[model(**inputs).logits.argmax().item()])
Reproduction

Produced on Hugging Face Jobs ( gpu ) with the train-classifier.py recipe from uv-scripts . Run it yourself:

hf jobs uv run --flavor gpu --secrets HF_TOKEN \
    https://huggingface.co/datasets/uv-scripts/classification/raw/main/train-classifier.py \
    fancyzhx/ag_news davanstrien/lfm25-encoder-agnews-smoke

Runs of davanstrien lfm25-encoder-agnews-smoke on huggingface.co

16
Total runs
1
24-hour runs
2
3-day runs
4
7-day runs
7
30-day runs

More Information About lfm25-encoder-agnews-smoke huggingface.co Model

lfm25-encoder-agnews-smoke huggingface.co

lfm25-encoder-agnews-smoke huggingface.co is an AI model on huggingface.co that provides lfm25-encoder-agnews-smoke's model effect (), which can be used instantly with this davanstrien lfm25-encoder-agnews-smoke model. huggingface.co supports a free trial of the lfm25-encoder-agnews-smoke model, and also provides paid use of the lfm25-encoder-agnews-smoke. Support call lfm25-encoder-agnews-smoke model through api, including Node.js, Python, http.

lfm25-encoder-agnews-smoke huggingface.co Url

https://huggingface.co/davanstrien/lfm25-encoder-agnews-smoke

davanstrien lfm25-encoder-agnews-smoke online free

lfm25-encoder-agnews-smoke huggingface.co is an online trial and call api platform, which integrates lfm25-encoder-agnews-smoke's modeling effects, including api services, and provides a free online trial of lfm25-encoder-agnews-smoke, you can try lfm25-encoder-agnews-smoke online for free by clicking the link below.

davanstrien lfm25-encoder-agnews-smoke online free url in huggingface.co:

https://huggingface.co/davanstrien/lfm25-encoder-agnews-smoke

lfm25-encoder-agnews-smoke install

lfm25-encoder-agnews-smoke is an open source model from GitHub that offers a free installation service, and any user can find lfm25-encoder-agnews-smoke on GitHub to install. At the same time, huggingface.co provides the effect of lfm25-encoder-agnews-smoke install, users can directly use lfm25-encoder-agnews-smoke installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

lfm25-encoder-agnews-smoke install url in huggingface.co:

https://huggingface.co/davanstrien/lfm25-encoder-agnews-smoke

Url of lfm25-encoder-agnews-smoke

lfm25-encoder-agnews-smoke huggingface.co Url

Provider of lfm25-encoder-agnews-smoke huggingface.co

davanstrien
ORGANIZATIONS

Other API from davanstrien

huggingface.co

Total runs: 15
Run Growth: 9
Growth Rate: 60.00%
Updated:September 24 2024