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