Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

lylaruslana
/
001

Translation
Transformers
Indonesian
gpt2
text-generation
indogpt
indobenchmark
indonlg
Model card Files Files and versions
xet
Community

Instructions to use lylaruslana/001 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use lylaruslana/001 with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "translation" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("translation", model="lylaruslana/001")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("lylaruslana/001")
    model = AutoModelForCausalLM.from_pretrained("lylaruslana/001")
  • Notebooks
  • Google Colab
  • Kaggle
001
467 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
lylaruslana's picture
lylaruslana
Update config.json
68180b0 over 2 years ago
  • .gitattributes
    1.57 kB
    Upload model_0.th over 2 years ago
  • README.md
    107 Bytes
    Update README.md over 2 years ago
  • config.json
    714 Bytes
    Update config.json over 2 years ago
  • model_0.th
    466 MB
    xet
    Upload model_0.th over 2 years ago
  • sentencepiece.bpe.model
    932 kB
    xet
    Upload 4 files over 2 years ago
  • special_tokens_map.json
    279 Bytes
    Upload 4 files over 2 years ago
  • tokenizer_config.json
    303 Bytes
    Upload 4 files over 2 years ago