Instructions to use LugatitTurk/LugatitDistilBert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LugatitTurk/LugatitDistilBert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LugatitTurk/LugatitDistilBert")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("LugatitTurk/LugatitDistilBert") model = AutoModelForSequenceClassification.from_pretrained("LugatitTurk/LugatitDistilBert") - Notebooks
- Google Colab
- Kaggle
tags: - generated_from_trainer library_name: transformers
Your Model Name
LugatitDistilBert
How to use
You can use this model directly with the transformers library:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("LugatitTurk/LugatitDistilBert")
model = AutoModelForSequenceClassification.from_pretrained("LugatitTurk/LugatitDistilBert")
inputs = tokenizer("Hello, my dog is cute", return_tensors="pt")
outputs = model(**inputs)
- Downloads last month
- 3