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

  • Log In
  • Sign Up

ashercn97
/
medicalcode-classifier

Text Classification
setfit
Safetensors
sentence-transformers
mpnet
generated_from_setfit_trainer
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use ashercn97/medicalcode-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • setfit

    How to use ashercn97/medicalcode-classifier with setfit:

    from setfit import SetFitModel
    
    model = SetFitModel.from_pretrained("ashercn97/medicalcode-classifier")
  • sentence-transformers

    How to use ashercn97/medicalcode-classifier with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("ashercn97/medicalcode-classifier")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
medicalcode-classifier
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
ashercn97's picture
ashercn97
Push model using huggingface_hub.
0011dfc verified about 1 year ago
  • 1_Pooling
    Push model using huggingface_hub. about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    6.89 kB
    Push model using huggingface_hub. about 1 year ago
  • config.json
    551 Bytes
    Push model using huggingface_hub. about 1 year ago
  • config_sentence_transformers.json
    203 Bytes
    Push model using huggingface_hub. about 1 year ago
  • config_setfit.json
    79 Bytes
    Push model using huggingface_hub. about 1 year ago
  • model.safetensors
    438 MB
    xet
    Push model using huggingface_hub. about 1 year ago
  • model_head.pkl

    Detected Pickle imports (4)

    • "numpy.dtype",
    • "sklearn.linear_model._logistic.LogisticRegression",
    • "joblib.numpy_pickle.NumpyArrayWrapper",
    • "numpy.ndarray"

    How to fix it?

    7.06 kB
    xet
    Push model using huggingface_hub. about 1 year ago
  • modules.json
    229 Bytes
    Push model using huggingface_hub. about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Push model using huggingface_hub. about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Push model using huggingface_hub. about 1 year ago
  • tokenizer.json
    712 kB
    Push model using huggingface_hub. about 1 year ago
  • tokenizer_config.json
    1.31 kB
    Push model using huggingface_hub. about 1 year ago
  • vocab.txt
    232 kB
    Push model using huggingface_hub. about 1 year ago