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

fahmiaziz
/
SmolLM2-135M-Instruct-Clinical-Note

Summarization
Transformers
Safetensors
llama
text-generation
Generated from Trainer
clinical-note
trl
sft
text-generation-inference
Model card Files Files and versions
xet
Community

Instructions to use fahmiaziz/SmolLM2-135M-Instruct-Clinical-Note with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use fahmiaziz/SmolLM2-135M-Instruct-Clinical-Note with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "summarization" 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("summarization", model="fahmiaziz/SmolLM2-135M-Instruct-Clinical-Note")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForCausalLM
    
    tokenizer = AutoTokenizer.from_pretrained("fahmiaziz/SmolLM2-135M-Instruct-Clinical-Note")
    model = AutoModelForCausalLM.from_pretrained("fahmiaziz/SmolLM2-135M-Instruct-Clinical-Note", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
SmolLM2-135M-Instruct-Clinical-Note
543 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
fahmiaziz's picture
fahmiaziz
End of training
1ca8af5 verified about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    1.6 kB
    End of training about 1 year ago
  • config.json
    878 Bytes
    End of training about 1 year ago
  • generation_config.json
    132 Bytes
    End of training about 1 year ago
  • merges.txt
    466 kB
    End of training about 1 year ago
  • model.safetensors
    538 MB
    xet
    End of training about 1 year ago
  • special_tokens_map.json
    655 Bytes
    End of training about 1 year ago
  • tokenizer.json
    3.52 MB
    End of training about 1 year ago
  • tokenizer_config.json
    3.79 kB
    End of training about 1 year ago
  • training_args.bin
    5.69 kB
    xet
    End of training about 1 year ago
  • vocab.json
    801 kB
    End of training about 1 year ago