Instructions to use manavgoel4/leetcodeassistant-phi-2b-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use manavgoel4/leetcodeassistant-phi-2b-adapter with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("manavgoel4/leetcodeassistant-phi-2b-adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update adapter_config.json
Browse files- adapter_config.json +1 -0
adapter_config.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "microsoft/phi-2",
|
| 5 |
"bias": "none",
|
|
|
|
| 6 |
"exclude_modules": null,
|
| 7 |
"fan_in_fan_out": false,
|
| 8 |
"inference_mode": true,
|
|
|
|
| 3 |
"auto_mapping": null,
|
| 4 |
"base_model_name_or_path": "microsoft/phi-2",
|
| 5 |
"bias": "none",
|
| 6 |
+
"eva_config": null,
|
| 7 |
"exclude_modules": null,
|
| 8 |
"fan_in_fan_out": false,
|
| 9 |
"inference_mode": true,
|