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