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

  • Log In
  • Sign Up

lam2
/
phogpt2

Transformers
Safetensors
mpt
text-generation
text-to-sql
custom_code
text-generation-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Transformers

    How to use lam2/phogpt2 with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("lam2/phogpt2", trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained("lam2/phogpt2", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
phogpt2
7.38 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
lam2's picture
lam2
Upload folder using huggingface_hub
014f7ad verified 8 months ago
  • .gitattributes
    1.52 kB
    initial commit 8 months ago
  • README.md
    170 Bytes
    Upload folder using huggingface_hub 8 months ago
  • chat_template.jinja
    564 Bytes
    Upload folder using huggingface_hub 8 months ago
  • config.json
    1.29 kB
    Upload folder using huggingface_hub 8 months ago
  • generation_config.json
    91 Bytes
    Upload folder using huggingface_hub 8 months ago
  • model-00001-of-00002.safetensors
    4.96 GB
    xet
    Upload folder using huggingface_hub 8 months ago
  • model-00002-of-00002.safetensors
    2.42 GB
    xet
    Upload folder using huggingface_hub 8 months ago
  • model.safetensors.index.json
    16.1 kB
    Upload folder using huggingface_hub 8 months ago
  • special_tokens_map.json
    437 Bytes
    Upload folder using huggingface_hub 8 months ago
  • tokenizer.json
    1.43 MB
    Upload folder using huggingface_hub 8 months ago
  • tokenizer_config.json
    1.03 kB
    Upload folder using huggingface_hub 8 months ago