Instructions to use YakovElm/Apache_5_GPT2_Microsoft_Under_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_Under_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_Under_Sampling")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("YakovElm/Apache_5_GPT2_Microsoft_Under_Sampling") model = AutoModelForSequenceClassification.from_pretrained("YakovElm/Apache_5_GPT2_Microsoft_Under_Sampling", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
8be8886 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:46f7700577259c5d61cbd6d96eeb8ba779f08f57ea031901c42fab0d205c50f7
size 1444568929
|