Instructions to use not-lain/MyRepo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use not-lain/MyRepo with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="not-lain/MyRepo", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("not-lain/MyRepo", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -3,6 +3,9 @@
|
|
| 3 |
tags:
|
| 4 |
- custom_code
|
| 5 |
---
|
|
|
|
|
|
|
|
|
|
| 6 |
# How to use
|
| 7 |
you can the model via the command
|
| 8 |
```python
|
|
|
|
| 3 |
tags:
|
| 4 |
- custom_code
|
| 5 |
---
|
| 6 |
+
# how to create custom architectures
|
| 7 |
+
you can read this [blogpost](https://huggingface.co/blog/not-lain/custom-architectures-with-huggingface) to find out more 📖
|
| 8 |
+
|
| 9 |
# How to use
|
| 10 |
you can the model via the command
|
| 11 |
```python
|