Views
No views yet
[!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.
ethicalabs/Echo-DSRN-114M-v0.1.2
and the PEFT adapter ethicalabs/Echo-SmolTools-114M-Intent-PEFT.EchoForGenerativeClassificationethicalabs/Echo-DSRN-114M-v0.1.2ethicalabs/Echo-SmolTools-114M-Intent-PEFTbfloat16trust_remote_code=True to load the custom architecture.1import torch
2from transformers import AutoTokenizer
3from echo_dsrn.modeling_generative_clf import EchoForGenerativeClassification
4
5model_id = "ethicalabs/Echo-SmolTools-114M-Intent-CLF-Gen" # or your hub path
6
7tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
8model = EchoForGenerativeClassification.from_pretrained(
9 model_id,
10 trust_remote_code=True,
11 torch_dtype=torch.bfloat16,
12 device_map="auto",
13)
14
15# Single utterance
16label, probs = model.classify("Enter your text here", tokenizer)
17print(f"Prediction: {label}")