amcoff/classify_skolmat
By amcoff · ↓ 2 · ♥ 0 · Updated 2023-02-22
What's in this repo
This page lists the files in amcoff/classify_skolmat, including model.onnx.
- 1 ONNX models (.onnx files)
- 9 files, including 2 .json, 1 .md, 1 .onnx, 1 .bin, 1 .txt, 1 .py
- Last updated 2023-02-22
ONNX files
| File | Size | Download |
|---|---|---|
| model.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
from transformers import pipeline
nlp = pipeline(
"text-classification",
model="amcoff/classify_skolmat",
tokenizer="KBLab/bert-base-swedish-cased",
)
nlp("Kökets val")
Model info
text-classification
transformers
transformers
pytorch
onnx
bert
text-classification
sv
dataset:amcoff/skolmat
license:mit
endpoints_compatible
region:us
↓ 2
♥ 0
Created: 2023-02-19
Updated: 2023-02-22
View on Hugging FaceFiles (9)
.gitattributes
.gitignore
README.md
config.json
model.onnx
ONNX
pytorch_model.bin
requirements.txt
tokenizer.json
train.py