Instructions to use mehedi67/basic_transformer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mehedi67/basic_transformer with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mehedi67/basic_transformer")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mehedi67/basic_transformer") model = AutoModelForSequenceClassification.from_pretrained("mehedi67/basic_transformer", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
662e459 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5f18e7459fb00485d824e0497333408039e226edd2268fb77fa449b8a5275277
size 442499672
|