Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ model-index:
|
|
| 54 |
|
| 55 |
**Ultimate Hybrid Retrieval Chatbot dengan 10+ Teknik**
|
| 56 |
|
| 57 |
-
[](https://huggingface.co/Lyon28/Caca-Chatbot-V2
|
| 58 |
[](https://opensource.org/licenses/MIT)
|
| 59 |
[](https://www.python.org/downloads/)
|
| 60 |
[](https://huggingface.co/datasets/Lyon28/Caca-Behavior)
|
|
@@ -192,7 +192,7 @@ import json
|
|
| 192 |
import faiss
|
| 193 |
import numpy as np
|
| 194 |
|
| 195 |
-
repo_id = "Lyon28/Caca-Chatbot-V2
|
| 196 |
|
| 197 |
# Download all files
|
| 198 |
files = [
|
|
@@ -469,42 +469,6 @@ demo.launch(share=True)
|
|
| 469 |
|
| 470 |
---
|
| 471 |
|
| 472 |
-
## π¦ File Structure
|
| 473 |
-
|
| 474 |
-
```
|
| 475 |
-
Lyon28/Caca-Chatbot-V2/
|
| 476 |
-
βββ README.md # Documentation
|
| 477 |
-
βββ config.json # Model configuration
|
| 478 |
-
βββ requirements.txt # Python dependencies
|
| 479 |
-
βββ patterns.json # Regex patterns
|
| 480 |
-
βββ keywords.json # Important keywords
|
| 481 |
-
β
|
| 482 |
-
βββ indices/
|
| 483 |
-
β βββ bm25_index.pkl # BM25 index
|
| 484 |
-
β βββ tfidf_vectorizer.pkl # TF-IDF vectorizer
|
| 485 |
-
β βββ tfidf_matrix.pkl # TF-IDF matrix
|
| 486 |
-
β βββ faiss_mini_index.bin # FAISS index (MiniLM)
|
| 487 |
-
β βββ faiss_mpnet_index.bin # FAISS index (MPNet)
|
| 488 |
-
β
|
| 489 |
-
βββ embeddings/
|
| 490 |
-
β βββ sbert_mini_embeddings.npy # MiniLM embeddings
|
| 491 |
-
β βββ sbert_mpnet_embeddings.npy # MPNet embeddings
|
| 492 |
-
β βββ use_embeddings.npy # USE embeddings
|
| 493 |
-
β βββ multilang_embeddings.npy # Multilingual embeddings
|
| 494 |
-
β
|
| 495 |
-
βββ data/
|
| 496 |
-
β βββ queries.json # Dataset queries
|
| 497 |
-
β βββ responses.json # Dataset responses
|
| 498 |
-
β βββ query_patterns.json # Pre-computed patterns
|
| 499 |
-
β
|
| 500 |
-
βββ scripts/
|
| 501 |
-
βββ inference.py # Inference script
|
| 502 |
-
βββ app_flask.py # Flask API
|
| 503 |
-
βββ app_gradio.py # Gradio interface
|
| 504 |
-
```
|
| 505 |
-
|
| 506 |
-
---
|
| 507 |
-
|
| 508 |
## β‘ Performance
|
| 509 |
|
| 510 |
### Inference Speed
|
|
@@ -571,7 +535,7 @@ python upload_to_hub.py
|
|
| 571 |
|
| 572 |
```bash
|
| 573 |
# Clone repository
|
| 574 |
-
git clone https://huggingface.co/Lyon28/Caca-Chatbot-V2
|
| 575 |
cd Caca-Chatbot
|
| 576 |
|
| 577 |
# Install dependencies
|
|
@@ -618,7 +582,7 @@ Model ini dirilis dengan lisensi **MIT License**. Bebas digunakan untuk keperlua
|
|
| 618 |
|
| 619 |
- π€ HuggingFace: [@Lyon28](https://huggingface.co/Lyon28)
|
| 620 |
- π Dataset: [Caca-Behavior](https://huggingface.co/datasets/Lyon28/Caca-Behavior)
|
| 621 |
-
- π€ Model: [Caca-Chatbot](https://huggingface.co/Lyon28/Caca-Chatbot-V2
|
| 622 |
|
| 623 |
Dibuat dengan β€οΈ menggunakan Python, Sentence-Transformers, FAISS, dan HuggingFace π
|
| 624 |
|
|
@@ -648,16 +612,16 @@ Dibuat dengan β€οΈ menggunakan Python, Sentence-Transformers, FAISS, dan Huggi
|
|
| 648 |
|
| 649 |
Untuk pertanyaan, bug report, atau feature request:
|
| 650 |
|
| 651 |
-
- π¬ **Issues**: [Open an issue](https://huggingface.co/Lyon28/Caca-Chatbot-V2
|
| 652 |
- π§ **Email**: cacatransformers@gmail.com
|
| 653 |
---
|
| 654 |
|
| 655 |
## π Quick Links
|
| 656 |
|
| 657 |
-
- π€ [Model on Hugging Face](https://huggingface.co/Lyon28/Caca-Chatbot-V2
|
| 658 |
- π [Dataset](https://huggingface.co/datasets/Lyon28/Caca-Behavior)
|
| 659 |
- π [Live Demo](https://huggingface.co/spaces/Lyon28/Caca-Chatbot-V2-Demo)
|
| 660 |
-
- π [Documentation](https://github.com/
|
| 661 |
- π» [Source Code](https://github.com/Lyon-28/caca-transformers)
|
| 662 |
|
| 663 |
---
|
|
@@ -668,20 +632,6 @@ Jika CACA berguna untuk project lo, jangan lupa kasih **β STAR** ya bro! π
|
|
| 668 |
|
| 669 |
---
|
| 670 |
|
| 671 |
-
## π Roadmap
|
| 672 |
-
|
| 673 |
-
### Version 2.0 (Coming Soon)
|
| 674 |
-
- [ ] Fine-tuned small LLM integration
|
| 675 |
-
- [ ] Voice input/output support
|
| 676 |
-
- [ ] Multi-modal (image understanding)
|
| 677 |
-
- [ ] Real-time learning from feedback
|
| 678 |
-
- [ ] API rate limiting & caching
|
| 679 |
-
- [ ] Better context window (10+ turns)
|
| 680 |
-
- [ ] Emotion detection
|
| 681 |
-
- [ ] Personality customization
|
| 682 |
-
|
| 683 |
-
---
|
| 684 |
-
|
| 685 |
<div align="center">
|
| 686 |
|
| 687 |
**Built with π₯ by Lyon28**
|
|
|
|
| 54 |
|
| 55 |
**Ultimate Hybrid Retrieval Chatbot dengan 10+ Teknik**
|
| 56 |
|
| 57 |
+
[](https://huggingface.co/Lyon28/Caca-Chatbot-V2)
|
| 58 |
[](https://opensource.org/licenses/MIT)
|
| 59 |
[](https://www.python.org/downloads/)
|
| 60 |
[](https://huggingface.co/datasets/Lyon28/Caca-Behavior)
|
|
|
|
| 192 |
import faiss
|
| 193 |
import numpy as np
|
| 194 |
|
| 195 |
+
repo_id = "Lyon28/Caca-Chatbot-V2"
|
| 196 |
|
| 197 |
# Download all files
|
| 198 |
files = [
|
|
|
|
| 469 |
|
| 470 |
---
|
| 471 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 472 |
## β‘ Performance
|
| 473 |
|
| 474 |
### Inference Speed
|
|
|
|
| 535 |
|
| 536 |
```bash
|
| 537 |
# Clone repository
|
| 538 |
+
git clone https://huggingface.co/Lyon28/Caca-Chatbot-V2
|
| 539 |
cd Caca-Chatbot
|
| 540 |
|
| 541 |
# Install dependencies
|
|
|
|
| 582 |
|
| 583 |
- π€ HuggingFace: [@Lyon28](https://huggingface.co/Lyon28)
|
| 584 |
- π Dataset: [Caca-Behavior](https://huggingface.co/datasets/Lyon28/Caca-Behavior)
|
| 585 |
+
- π€ Model: [Caca-Chatbot](https://huggingface.co/Lyon28/Caca-Chatbot-V2)
|
| 586 |
|
| 587 |
Dibuat dengan β€οΈ menggunakan Python, Sentence-Transformers, FAISS, dan HuggingFace π
|
| 588 |
|
|
|
|
| 612 |
|
| 613 |
Untuk pertanyaan, bug report, atau feature request:
|
| 614 |
|
| 615 |
+
- π¬ **Issues**: [Open an issue](https://huggingface.co/Lyon28/Caca-Chatbot-V2/discussions)
|
| 616 |
- π§ **Email**: cacatransformers@gmail.com
|
| 617 |
---
|
| 618 |
|
| 619 |
## π Quick Links
|
| 620 |
|
| 621 |
+
- π€ [Model on Hugging Face](https://huggingface.co/Lyon28/Caca-Chatbot-V2)
|
| 622 |
- π [Dataset](https://huggingface.co/datasets/Lyon28/Caca-Behavior)
|
| 623 |
- π [Live Demo](https://huggingface.co/spaces/Lyon28/Caca-Chatbot-V2-Demo)
|
| 624 |
+
- π [Documentation](https://github.com/Lyon-28/caca-transformers)
|
| 625 |
- π» [Source Code](https://github.com/Lyon-28/caca-transformers)
|
| 626 |
|
| 627 |
---
|
|
|
|
| 632 |
|
| 633 |
---
|
| 634 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 635 |
<div align="center">
|
| 636 |
|
| 637 |
**Built with π₯ by Lyon28**
|