Instructions to use smartmind/albert-kor-base-tweak with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smartmind/albert-kor-base-tweak with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="smartmind/albert-kor-base-tweak")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("smartmind/albert-kor-base-tweak") model = AutoModelForMaskedLM.from_pretrained("smartmind/albert-kor-base-tweak", device_map="auto") - Notebooks
- Google Colab
- Kaggle
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained("smartmind/albert-kor-base-tweak")
model = AutoModelForMaskedLM.from_pretrained("smartmind/albert-kor-base-tweak", device_map="auto")Quick Links
smartmind/albert-kor-base-tweak
kykim/albert-kor-baseμ λμΌν λͺ¨λΈμ λλ€.
AutoTokenizerλ‘ ν ν¬λμ΄μ λ₯Ό λΆλ¬μ¬ μ μλλ‘ μ‘°μ νμ΅λλ€.
- Downloads last month
- 10
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="smartmind/albert-kor-base-tweak")