Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

uzlm
/
Korean-Gemma-2B-Instruct

Question Answering
Transformers
Safetensors
Korean
English
gemma2
text-generation
llama
translation
summarization
tokenizer
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use uzlm/Korean-Gemma-2B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use uzlm/Korean-Gemma-2B-Instruct with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "question-answering" 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("question-answering", model="uzlm/Korean-Gemma-2B-Instruct")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("uzlm/Korean-Gemma-2B-Instruct")
    model = AutoModelForCausalLM.from_pretrained("uzlm/Korean-Gemma-2B-Instruct", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Korean-Gemma-2B-Instruct
5.37 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
bxod's picture
bxod
Update README.md
2619d5a verified 9 months ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 9 months ago
  • README.md
    245 Bytes
    Update README.md 9 months ago
  • added_tokens.json
    519 kB
    Upload folder using huggingface_hub 9 months ago
  • chat_template.jinja
    591 Bytes
    Upload folder using huggingface_hub 9 months ago
  • config.json
    819 Bytes
    Upload folder using huggingface_hub 9 months ago
  • generation_config.json
    187 Bytes
    Upload folder using huggingface_hub 9 months ago
  • model-00001-of-00002.safetensors
    1.27 GB
    xet
    Upload folder using huggingface_hub 9 months ago
  • model-00002-of-00002.safetensors
    4.05 GB
    xet
    Upload folder using huggingface_hub 9 months ago
  • model.safetensors.index.json
    24.2 kB
    Upload folder using huggingface_hub 9 months ago
  • special_tokens_map.json
    636 Bytes
    Upload folder using huggingface_hub 9 months ago
  • tokenizer.json
    38.1 MB
    xet
    Upload folder using huggingface_hub 9 months ago
  • tokenizer.model
    4.24 MB
    xet
    Upload folder using huggingface_hub 9 months ago
  • tokenizer_config.json
    3.6 MB
    Upload folder using huggingface_hub 9 months ago