Downloads · 30 days
40
11% of all-time downloads
ethicalabs/Echo-SmolTools-114M-Intent-CLF-Gen
Echo-SmolTools-114M-Intent-CLF-Gen is a text classification model from ethicalabs. Use it when you need a label for a piece of text. It is set up for transformers.
[](https://github.com/ethicalabs-ai/Echo-DSRN/) [](https://opensource.org/licenses/Apache-2.0) [](https://www.python.org/downloads/)
Downloads · 30 days
40
11% of all-time downloads
All-time downloads
378
Public
Parameters
115M
229 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors229 MB · 98%
From the Hugging Face model README
[!WARNING] This repository contains experimental models designed strictly for academic evaluation and research purposes.
Critical Constraints:
- No Production Deployment: Experimental models must not be deployed in commercial, enterprise, or mission-critical environments under any circumstances.
- No Liability: Experimental models are provided "as-is" without warranties of any kind. The developers assume zero liability for downstream consequences, system integration failures, or regulatory non-compliance resulting from unauthorized deployment.
This is a generative sequence classification model based on the Echo-DSRN architecture.
It was merged from the base model ethicalabs/Echo-DSRN-114M-v0.1.2
and the PEFT adapter ethicalabs/Echo-SmolTools-114M-Intent-PEFT.
No additional linear head is trained — the adapter's generative knowledge is used directly via constrained next-token scoring: for each candidate label the model sums the log-probability of each of its tokens, then picks the highest-scoring one.
EchoForGenerativeClassificationethicalabs/Echo-DSRN-114M-v0.1.2ethicalabs/Echo-SmolTools-114M-Intent-PEFTbfloat16This model requires trust_remote_code=True to load the custom architecture.
import torch
from transformers import AutoTokenizer
from echo_dsrn.modeling_generative_clf import EchoForGenerativeClassification
model_id = "ethicalabs/Echo-SmolTools-114M-Intent-CLF-Gen" # or your hub path
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
model = EchoForGenerativeClassification.from_pretrained(
model_id,
trust_remote_code=True,
torch_dtype=torch.bfloat16,
device_map="auto",
)
# Single utterance
label, probs = model.classify("Enter your text here", tokenizer)
print(f"Prediction: {label}")