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

  • Log In
  • Sign Up

philschmid
/
distilbert-onnx-banking77

Text Classification
ONNX
generic
endpoints-template
optimum
Model card Files Files and versions
xet
Community
5
distilbert-onnx-banking77
173 MB
  • 3 contributors
History: 25 commits
Kirkawin's picture
Kirkawin
import requests API_URL = "https://api-inference.huggingface.co/models/jkang/espnet2_librispeech_100_conformer_word" headers = {"Authorization": f"Bearer {API_TOKEN}"} def query(filename): with open(filename, "rb") as f: data = f.read() response = requests.post(API_URL, headers=headers, data=data) return response.json() output = query("sample1.flac")
2be0040 over 2 years ago
  • .gitattributes
    1.17 kB
    initial commit over 3 years ago
  • README.md
    1.06 kB
    Replace pipeline.py with handler.py (#2) over 3 years ago
  • config.json
    5.78 kB
    Upload config.json over 3 years ago
  • handler.py
    376 Bytes
    import requests API_URL = "https://api-inference.huggingface.co/models/jkang/espnet2_librispeech_100_conformer_word" headers = {"Authorization": f"Bearer {API_TOKEN}"} def query(filename): with open(filename, "rb") as f: data = f.read() response = requests.post(API_URL, headers=headers, data=data) return response.json() output = query("sample1.flac") over 2 years ago
  • model.onnx
    173 MB
    xet
    Upload model.onnx with git-lfs over 3 years ago
  • requirements.txt
    43 Bytes
    Create new file over 3 years ago
  • special_tokens_map.json
    112 Bytes
    Upload special_tokens_map.json over 3 years ago
  • tokenizer.json
    711 kB
    Upload tokenizer.json over 3 years ago
  • tokenizer_config.json
    314 Bytes
    Upload tokenizer_config.json over 3 years ago
  • vocab.txt
    232 kB
    Upload vocab.txt over 3 years ago