Instructions to use MircoFox-AI/MeLlamFox with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use MircoFox-AI/MeLlamFox with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("MircoFox-AI/MeLlamFox", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create app.js
Browse files
app.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// app.js - Your public configuration variables
|
| 2 |
+
const CLIENT_ID =448a8ed7-b70b-4660-9c3a-9588e7ff94f2;
|
| 3 |
+
const REDIRECT_URI = "http://127.0.0.1:8000";
|
| 4 |
+
|
| 5 |
+
function loginWithHuggingFace() {
|
| 6 |
+
const authUrl = `https://huggingface.co{CLIENT_ID}&redirect_uri=${encodeURIComponent(REDIRECT_URI)}&scope=openid%20profile`;
|
| 7 |
+
window.location.href = authUrl;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
console.log("[H-bot Bridge] app.js initialized successfully.");
|