Update README.md
Browse files
README.md
CHANGED
|
@@ -16,21 +16,6 @@ The model will be uploaded later this week in .bin format and .tar.gz.
|
|
| 16 |
|
| 17 |
You can use the SkinSense model by installing the `transformers` library from Hugging Face:
|
| 18 |
|
| 19 |
-
```bash
|
| 20 |
-
pip install transformers
|
| 21 |
-
|
| 22 |
-
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 23 |
-
|
| 24 |
-
# Load the pre-trained model and tokenizer
|
| 25 |
-
model = AutoModelForSequenceClassification.from_pretrained("...")
|
| 26 |
-
tokenizer = AutoTokenizer.from_pretrained("...")
|
| 27 |
-
|
| 28 |
-
# Example usage
|
| 29 |
-
text = "A skin lesion with irregular borders and dark coloration."
|
| 30 |
-
inputs = tokenizer(text, return_tensors="pt", padding=True, truncation=True)
|
| 31 |
-
outputs = model(**inputs)
|
| 32 |
-
logits = outputs.logits
|
| 33 |
-
```
|
| 34 |
|
| 35 |
## Model Link
|
| 36 |
You can access the pre-trained SkinSense model on Hugging Face Model Hub using the following link:
|
|
|
|
| 16 |
|
| 17 |
You can use the SkinSense model by installing the `transformers` library from Hugging Face:
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
## Model Link
|
| 21 |
You can access the pre-trained SkinSense model on Hugging Face Model Hub using the following link:
|