Instructions to use theta/sentcore with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use theta/sentcore with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="theta/sentcore")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("theta/sentcore") model = AutoModelForTokenClassification.from_pretrained("theta/sentcore", device_map="auto") - Notebooks
- Google Colab
- Kaggle
v1.0.3
Browse files9 unmodified lines1011121314151617181920212223242526279 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {"0": "LABEL_0","1": "LABEL_1","2": "LABEL_2","3": "LABEL_3"},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"LABEL_0": 0,"LABEL_1": 1,"LABEL_2": 2,"LABEL_3": 3},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,9 unmodified lines1011121314151617181920212223242526279 unmodified lines"hidden_dropout_prob": 0.1,"hidden_size": 768,"id2label": {".": 3,"/": 2,"x": 0,"\u3002": 1},"initializer_range": 0.02,"intermediate_size": 3072,"label2id": {"0": "x","1": "\u3002","2": "/","3": "."},"layer_norm_eps": 1e-12,"max_position_embeddings": 512,
config.json+8-8