Instructions to use hyunwoongko/kobart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hyunwoongko/kobart with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("hyunwoongko/kobart") model = AutoModelForSeq2SeqLM.from_pretrained("hyunwoongko/kobart", device_map="auto") - Notebooks
- Google Colab
- Kaggle
You passed along `num_labels=3` with an incompatible id to label map: {'0': 'NEGATIVE', '1': 'POSITIVE'}. The number of labels wil be overwritten to 2.
1
#2 opened over 3 years ago
by
dfsfb5r64
Adding `safetensors` variant of this model
#1 opened over 3 years ago
by
SFconvertbot