Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

AdnanRiaz107
/
SantaCoder-MBPP

Question Answering
Transformers
Safetensors
English
gpt2
text-generation
custom_code
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use AdnanRiaz107/SantaCoder-MBPP with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use AdnanRiaz107/SantaCoder-MBPP with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("question-answering", model="AdnanRiaz107/SantaCoder-MBPP", trust_remote_code=True)
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("AdnanRiaz107/SantaCoder-MBPP", trust_remote_code=True)
    model = AutoModelForCausalLM.from_pretrained("AdnanRiaz107/SantaCoder-MBPP", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
SantaCoder-MBPP
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
AdnanRiaz107's picture
AdnanRiaz107
Update README.md
a83306a verified over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    5.26 kB
    Update README.md over 2 years ago
  • adapter_config.json
    629 Bytes
    Upload model over 2 years ago
  • added_tokens.json
    126 Bytes
    Upload tokenizer over 2 years ago
  • config.json
    1.03 kB
    Upload config over 2 years ago
  • merges.txt
    455 kB
    Upload tokenizer over 2 years ago
  • model.safetensors
    11 MB
    xet
    Rename adapter_model.safetensors to model.safetensors over 2 years ago
  • special_tokens_map.json
    494 Bytes
    Upload tokenizer over 2 years ago
  • tokenizer.json
    2.08 MB
    Upload tokenizer over 2 years ago
  • tokenizer_config.json
    1.4 kB
    Upload tokenizer over 2 years ago
  • vocab.json
    790 kB
    Upload tokenizer over 2 years ago