Convert Space to Model Repository
Browse files- README.md +39 -0
- requirements.txt +2 -0
README.md
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
language:
|
4 |
+
- en
|
5 |
+
library_name: transformers
|
6 |
+
pipeline_tag: text-classification
|
7 |
+
tags:
|
8 |
+
- medical
|
9 |
+
- converted-from-space
|
10 |
+
- medicoder
|
11 |
+
source_space: sshan95/medicoder-ai-v2
|
12 |
+
---
|
13 |
+
|
14 |
+
# medicoder-ai-v2-model
|
15 |
+
|
16 |
+
This model was converted from the Hugging Face Space: [sshan95/medicoder-ai-v2](https://huggingface.co/spaces/sshan95/medicoder-ai-v2)
|
17 |
+
|
18 |
+
## Model Description
|
19 |
+
|
20 |
+
MediCoder AI v2 converted from Space to proper model repository for easier integration and deployment.
|
21 |
+
|
22 |
+
## Usage
|
23 |
+
|
24 |
+
```python
|
25 |
+
from transformers import AutoTokenizer, AutoModelForSequenceClassification
|
26 |
+
|
27 |
+
tokenizer = AutoTokenizer.from_pretrained("sshan95/medicoder-ai-v2-model")
|
28 |
+
model = AutoModelForSequenceClassification.from_pretrained("sshan95/medicoder-ai-v2-model")
|
29 |
+
|
30 |
+
# Your inference code here
|
31 |
+
```
|
32 |
+
|
33 |
+
## Original Space
|
34 |
+
|
35 |
+
This model was originally deployed as a Space at: https://huggingface.co/spaces/sshan95/medicoder-ai-v2
|
36 |
+
|
37 |
+
## Conversion
|
38 |
+
|
39 |
+
Converted from Space to Model repository for better accessibility and integration.
|
requirements.txt
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
gradio==4.44.0
|
2 |
+
numpy>=1.21.0
|