├── .gitignore ├── LICENSE ├── README.md ├── Recommendation-system-with-LLMs ├── Recommendation systems.ipynb ├── anime_with_synopsis.csv └── requirements.txt ├── agent ├── Agent_OpenAI │ ├── main.py │ └── scripts │ │ ├── __init__.py │ │ ├── agent.py │ │ ├── tool.py │ │ └── utils.py ├── Email_Reply_Llama3_CrewAI_+_Groq.ipynb ├── GenAINewsAgent │ ├── .gitignore │ ├── README.md │ ├── demo_content │ │ └── GenAINewsSearch-ezgif.com-video-to-gif-converter.gif │ └── server │ │ ├── agent.py │ │ ├── app.py │ │ ├── brave_search.py │ │ ├── configs.py │ │ ├── llms │ │ ├── __init__.py │ │ ├── base.py │ │ ├── ctx.py │ │ └── groq.py │ │ ├── news.py │ │ ├── prompts.py │ │ └── requirements.txt ├── README.md └── grop_llama3_agent.ipynb ├── decoder_transformer ├── decoder.py ├── decoder_exec.py └── encoder_classes_link.py ├── encoder_transformer ├── attention_is_all_you_need_pt1.md ├── encoder_classes.py └── encoder_exec.py ├── gpt4-tts ├── README.md ├── requirements.txt ├── utils.py └── vision_through_voice_gpt4_tts.ipynb ├── iollama ├── api.py ├── config.py ├── docker-compose.yml ├── docs │ ├── red-blue-teams.pdf │ ├── red-team-introduction.pdf │ └── red-team-regulatory.pdf ├── model.py └── requirements.txt ├── knowlage_graph ├── GraphRAG │ ├── GraphRAG-LangChain-Neo4j.ipynb │ ├── documents.pkl │ └── graphrag_results.xlsx ├── README.md ├── Topic_Modeling_with_Quantized_LLMs.ipynb ├── langchain_LangGraph - Code Development using Multi-Agent Flow.ipynb ├── langchain_neo4j_devops_rag.ipynb ├── langchain_neo4j_tips.ipynb ├── llama3_re │ ├── Llama3_RE_Inference_SFT.ipynb │ └── datas │ │ ├── all_tests.json │ │ ├── mini_data.json │ │ ├── sft_dataset.json │ │ └── sft_train_data.json ├── llama_packs_neo4j.ipynb ├── llamaindex_Neo4j.ipynb ├── llamaindex_Neo4jVectorDemo.ipynb ├── llamaindex_nebulagraph_rag_phillies.ipynb ├── llamaindex_neo4j_KnowledgeGraph.ipynb ├── llamaindex_neo4j_multimodal.ipynb └── neo4j_pack │ ├── base.py │ └── requirements.txt ├── llms_apis_ss_agents_finetuning ├── .gitkeep └── DSPT23_LLMsUnfolded.ipynb ├── notebooks ├── credentials.json ├── huggingface_Code_Llama_2_7B.ipynb ├── huggingface_REBEL.ipynb ├── huggingface_llama2_Prompting_Guide_with_Gradio.ipynb ├── langchain_17megabyteChatBot.ipynb └── langchain_Google_Gemini_API.ipynb ├── ollama_knowlage_graph ├── README.md ├── assets │ ├── 1_7mbJ-PGM9I7icuGGDBqL6A.webp │ ├── 1_tUIG_q8jFoObdzoD9_gWNg.gif │ ├── 1_wA_ok_DdjJ9ua0AyybxYsg.webp │ ├── iShot_2023-12-13_18.53.05.png │ ├── iShot_2023-12-13_18.53.30.png │ └── iShot_2023-12-13_18.56.17.png ├── data_input │ ├── cureus-0015-00000040274.pdf │ └── cureus │ │ └── cureus-0015-00000040274.txt ├── data_output │ └── cureus │ │ ├── chunks.csv │ │ └── graph.csv ├── docs │ ├── graph.html │ └── index.html ├── extract_graph.ipynb ├── helpers │ ├── __init__ │ ├── df_helpers.py │ └── prompts.py ├── ollama │ ├── __init__.py │ └── client.py ├── requirements.txt └── storage_graph │ ├── default__vector_store.json │ ├── docstore.json │ ├── image__vector_store.json │ └── index_store.json ├── rag ├── Ollama_Weaviate_Local_rag.ipynb ├── README.md ├── lang_graph │ ├── 2404.09982v1.pdf │ ├── README.md │ ├── adaptive_rag.py │ └── requirements.txt ├── langchain_Evaluate_RAG_on_Synthetic_Data.ipynb ├── langchain_enhancing_rag_with_graph.ipynb ├── langchain_rag_groq.ipynb ├── langgraph_rag_agent_llama3_local.ipynb ├── llamaindex_rag_Evaluating_the_Ideal_Chunk_Size.ipynb ├── llamaindex_togetherAI_rag.ipynb ├── ragas │ ├── eval_ragas.ipynb │ ├── rag_image.png │ ├── ragas_eval_image.png │ └── readthedocs_zilliz_langchain.ipynb ├── simple_demo │ ├── README.md │ ├── base │ │ └── config.py │ ├── config.yaml │ ├── encoder │ │ └── encoder.py │ ├── generator │ │ └── generator.py │ ├── rag.ipynb │ ├── requirements.txt │ └── retriever │ │ └── vector_db.py └── storage_graph │ ├── default__vector_store.json │ ├── docstore.json │ ├── image__vector_store.json │ └── index_store.json ├── search_mail_data ├── rag.ipynb └── read_mbox_file.ipynb ├── transcription-and-semantic-search ├── README.md ├── base │ └── config.py ├── config.yaml ├── docker-compose.yml ├── encoder │ └── encoder.py ├── multilingual_transcription_semantic_search.ipynb ├── requirements.txt ├── transcriptor │ └── whisperx.py └── utils.py ├── translation ├── Dockerfile ├── README.md ├── docker-compose.yml ├── requirements.txt └── src │ ├── app.py │ ├── base │ └── config.py │ ├── classifier │ └── language_classifier.py │ ├── config.yaml │ ├── encoder │ └── encoder.py │ ├── generator │ └── generator.py │ ├── lang_map.yaml │ ├── populate.py │ ├── retriever │ └── vector_db.py │ ├── translation.ipynb │ └── translator │ └── translator.py └── voice_assistant_llm ├── README.md ├── app.py ├── rag ├── AIVoiceAssistant.py └── restaurant_file.txt ├── requirements.txt └── voice_service.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/README.md -------------------------------------------------------------------------------- /Recommendation-system-with-LLMs/Recommendation systems.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/Recommendation-system-with-LLMs/Recommendation systems.ipynb -------------------------------------------------------------------------------- /Recommendation-system-with-LLMs/anime_with_synopsis.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/Recommendation-system-with-LLMs/anime_with_synopsis.csv -------------------------------------------------------------------------------- /Recommendation-system-with-LLMs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/Recommendation-system-with-LLMs/requirements.txt -------------------------------------------------------------------------------- /agent/Agent_OpenAI/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/Agent_OpenAI/main.py -------------------------------------------------------------------------------- /agent/Agent_OpenAI/scripts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /agent/Agent_OpenAI/scripts/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/Agent_OpenAI/scripts/agent.py -------------------------------------------------------------------------------- /agent/Agent_OpenAI/scripts/tool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/Agent_OpenAI/scripts/tool.py -------------------------------------------------------------------------------- /agent/Agent_OpenAI/scripts/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/Agent_OpenAI/scripts/utils.py -------------------------------------------------------------------------------- /agent/Email_Reply_Llama3_CrewAI_+_Groq.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/Email_Reply_Llama3_CrewAI_+_Groq.ipynb -------------------------------------------------------------------------------- /agent/GenAINewsAgent/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/.gitignore -------------------------------------------------------------------------------- /agent/GenAINewsAgent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/README.md -------------------------------------------------------------------------------- /agent/GenAINewsAgent/demo_content/GenAINewsSearch-ezgif.com-video-to-gif-converter.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/demo_content/GenAINewsSearch-ezgif.com-video-to-gif-converter.gif -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/agent.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/app.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/brave_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/brave_search.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/configs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/configs.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/llms/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/llms/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/llms/base.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/llms/ctx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/llms/ctx.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/llms/groq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/llms/groq.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/news.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/news.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/prompts.py -------------------------------------------------------------------------------- /agent/GenAINewsAgent/server/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/GenAINewsAgent/server/requirements.txt -------------------------------------------------------------------------------- /agent/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/README.md -------------------------------------------------------------------------------- /agent/grop_llama3_agent.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/agent/grop_llama3_agent.ipynb -------------------------------------------------------------------------------- /decoder_transformer/decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/decoder_transformer/decoder.py -------------------------------------------------------------------------------- /decoder_transformer/decoder_exec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/decoder_transformer/decoder_exec.py -------------------------------------------------------------------------------- /decoder_transformer/encoder_classes_link.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/decoder_transformer/encoder_classes_link.py -------------------------------------------------------------------------------- /encoder_transformer/attention_is_all_you_need_pt1.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/encoder_transformer/attention_is_all_you_need_pt1.md -------------------------------------------------------------------------------- /encoder_transformer/encoder_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/encoder_transformer/encoder_classes.py -------------------------------------------------------------------------------- /encoder_transformer/encoder_exec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/encoder_transformer/encoder_exec.py -------------------------------------------------------------------------------- /gpt4-tts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/gpt4-tts/README.md -------------------------------------------------------------------------------- /gpt4-tts/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/gpt4-tts/requirements.txt -------------------------------------------------------------------------------- /gpt4-tts/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/gpt4-tts/utils.py -------------------------------------------------------------------------------- /gpt4-tts/vision_through_voice_gpt4_tts.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/gpt4-tts/vision_through_voice_gpt4_tts.ipynb -------------------------------------------------------------------------------- /iollama/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/iollama/api.py -------------------------------------------------------------------------------- /iollama/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/iollama/config.py -------------------------------------------------------------------------------- /iollama/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/iollama/docker-compose.yml -------------------------------------------------------------------------------- /iollama/docs/red-blue-teams.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/iollama/docs/red-blue-teams.pdf -------------------------------------------------------------------------------- /iollama/docs/red-team-introduction.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/iollama/docs/red-team-introduction.pdf -------------------------------------------------------------------------------- /iollama/docs/red-team-regulatory.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/iollama/docs/red-team-regulatory.pdf -------------------------------------------------------------------------------- /iollama/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/iollama/model.py -------------------------------------------------------------------------------- /iollama/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/iollama/requirements.txt -------------------------------------------------------------------------------- /knowlage_graph/GraphRAG/GraphRAG-LangChain-Neo4j.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/GraphRAG/GraphRAG-LangChain-Neo4j.ipynb -------------------------------------------------------------------------------- /knowlage_graph/GraphRAG/documents.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/GraphRAG/documents.pkl -------------------------------------------------------------------------------- /knowlage_graph/GraphRAG/graphrag_results.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/GraphRAG/graphrag_results.xlsx -------------------------------------------------------------------------------- /knowlage_graph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/README.md -------------------------------------------------------------------------------- /knowlage_graph/Topic_Modeling_with_Quantized_LLMs.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/Topic_Modeling_with_Quantized_LLMs.ipynb -------------------------------------------------------------------------------- /knowlage_graph/langchain_LangGraph - Code Development using Multi-Agent Flow.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/langchain_LangGraph - Code Development using Multi-Agent Flow.ipynb -------------------------------------------------------------------------------- /knowlage_graph/langchain_neo4j_devops_rag.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/langchain_neo4j_devops_rag.ipynb -------------------------------------------------------------------------------- /knowlage_graph/langchain_neo4j_tips.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/langchain_neo4j_tips.ipynb -------------------------------------------------------------------------------- /knowlage_graph/llama3_re/Llama3_RE_Inference_SFT.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llama3_re/Llama3_RE_Inference_SFT.ipynb -------------------------------------------------------------------------------- /knowlage_graph/llama3_re/datas/all_tests.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llama3_re/datas/all_tests.json -------------------------------------------------------------------------------- /knowlage_graph/llama3_re/datas/mini_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llama3_re/datas/mini_data.json -------------------------------------------------------------------------------- /knowlage_graph/llama3_re/datas/sft_dataset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llama3_re/datas/sft_dataset.json -------------------------------------------------------------------------------- /knowlage_graph/llama3_re/datas/sft_train_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llama3_re/datas/sft_train_data.json -------------------------------------------------------------------------------- /knowlage_graph/llama_packs_neo4j.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llama_packs_neo4j.ipynb -------------------------------------------------------------------------------- /knowlage_graph/llamaindex_Neo4j.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llamaindex_Neo4j.ipynb -------------------------------------------------------------------------------- /knowlage_graph/llamaindex_Neo4jVectorDemo.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llamaindex_Neo4jVectorDemo.ipynb -------------------------------------------------------------------------------- /knowlage_graph/llamaindex_nebulagraph_rag_phillies.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llamaindex_nebulagraph_rag_phillies.ipynb -------------------------------------------------------------------------------- /knowlage_graph/llamaindex_neo4j_KnowledgeGraph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llamaindex_neo4j_KnowledgeGraph.ipynb -------------------------------------------------------------------------------- /knowlage_graph/llamaindex_neo4j_multimodal.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/llamaindex_neo4j_multimodal.ipynb -------------------------------------------------------------------------------- /knowlage_graph/neo4j_pack/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/knowlage_graph/neo4j_pack/base.py -------------------------------------------------------------------------------- /knowlage_graph/neo4j_pack/requirements.txt: -------------------------------------------------------------------------------- 1 | neo4j 2 | -------------------------------------------------------------------------------- /llms_apis_ss_agents_finetuning/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /llms_apis_ss_agents_finetuning/DSPT23_LLMsUnfolded.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/llms_apis_ss_agents_finetuning/DSPT23_LLMsUnfolded.ipynb -------------------------------------------------------------------------------- /notebooks/credentials.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/notebooks/credentials.json -------------------------------------------------------------------------------- /notebooks/huggingface_Code_Llama_2_7B.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/notebooks/huggingface_Code_Llama_2_7B.ipynb -------------------------------------------------------------------------------- /notebooks/huggingface_REBEL.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/notebooks/huggingface_REBEL.ipynb -------------------------------------------------------------------------------- /notebooks/huggingface_llama2_Prompting_Guide_with_Gradio.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/notebooks/huggingface_llama2_Prompting_Guide_with_Gradio.ipynb -------------------------------------------------------------------------------- /notebooks/langchain_17megabyteChatBot.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/notebooks/langchain_17megabyteChatBot.ipynb -------------------------------------------------------------------------------- /notebooks/langchain_Google_Gemini_API.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/notebooks/langchain_Google_Gemini_API.ipynb -------------------------------------------------------------------------------- /ollama_knowlage_graph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/README.md -------------------------------------------------------------------------------- /ollama_knowlage_graph/assets/1_7mbJ-PGM9I7icuGGDBqL6A.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/assets/1_7mbJ-PGM9I7icuGGDBqL6A.webp -------------------------------------------------------------------------------- /ollama_knowlage_graph/assets/1_tUIG_q8jFoObdzoD9_gWNg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/assets/1_tUIG_q8jFoObdzoD9_gWNg.gif -------------------------------------------------------------------------------- /ollama_knowlage_graph/assets/1_wA_ok_DdjJ9ua0AyybxYsg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/assets/1_wA_ok_DdjJ9ua0AyybxYsg.webp -------------------------------------------------------------------------------- /ollama_knowlage_graph/assets/iShot_2023-12-13_18.53.05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/assets/iShot_2023-12-13_18.53.05.png -------------------------------------------------------------------------------- /ollama_knowlage_graph/assets/iShot_2023-12-13_18.53.30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/assets/iShot_2023-12-13_18.53.30.png -------------------------------------------------------------------------------- /ollama_knowlage_graph/assets/iShot_2023-12-13_18.56.17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/assets/iShot_2023-12-13_18.56.17.png -------------------------------------------------------------------------------- /ollama_knowlage_graph/data_input/cureus-0015-00000040274.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/data_input/cureus-0015-00000040274.pdf -------------------------------------------------------------------------------- /ollama_knowlage_graph/data_input/cureus/cureus-0015-00000040274.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/data_input/cureus/cureus-0015-00000040274.txt -------------------------------------------------------------------------------- /ollama_knowlage_graph/data_output/cureus/chunks.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/data_output/cureus/chunks.csv -------------------------------------------------------------------------------- /ollama_knowlage_graph/data_output/cureus/graph.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/data_output/cureus/graph.csv -------------------------------------------------------------------------------- /ollama_knowlage_graph/docs/graph.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/docs/graph.html -------------------------------------------------------------------------------- /ollama_knowlage_graph/docs/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/docs/index.html -------------------------------------------------------------------------------- /ollama_knowlage_graph/extract_graph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/extract_graph.ipynb -------------------------------------------------------------------------------- /ollama_knowlage_graph/helpers/__init__: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ollama_knowlage_graph/helpers/df_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/helpers/df_helpers.py -------------------------------------------------------------------------------- /ollama_knowlage_graph/helpers/prompts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/helpers/prompts.py -------------------------------------------------------------------------------- /ollama_knowlage_graph/ollama/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ollama_knowlage_graph/ollama/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/ollama/client.py -------------------------------------------------------------------------------- /ollama_knowlage_graph/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/requirements.txt -------------------------------------------------------------------------------- /ollama_knowlage_graph/storage_graph/default__vector_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/storage_graph/default__vector_store.json -------------------------------------------------------------------------------- /ollama_knowlage_graph/storage_graph/docstore.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/storage_graph/docstore.json -------------------------------------------------------------------------------- /ollama_knowlage_graph/storage_graph/image__vector_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/storage_graph/image__vector_store.json -------------------------------------------------------------------------------- /ollama_knowlage_graph/storage_graph/index_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/ollama_knowlage_graph/storage_graph/index_store.json -------------------------------------------------------------------------------- /rag/Ollama_Weaviate_Local_rag.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/Ollama_Weaviate_Local_rag.ipynb -------------------------------------------------------------------------------- /rag/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/README.md -------------------------------------------------------------------------------- /rag/lang_graph/2404.09982v1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/lang_graph/2404.09982v1.pdf -------------------------------------------------------------------------------- /rag/lang_graph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/lang_graph/README.md -------------------------------------------------------------------------------- /rag/lang_graph/adaptive_rag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/lang_graph/adaptive_rag.py -------------------------------------------------------------------------------- /rag/lang_graph/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/lang_graph/requirements.txt -------------------------------------------------------------------------------- /rag/langchain_Evaluate_RAG_on_Synthetic_Data.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/langchain_Evaluate_RAG_on_Synthetic_Data.ipynb -------------------------------------------------------------------------------- /rag/langchain_enhancing_rag_with_graph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/langchain_enhancing_rag_with_graph.ipynb -------------------------------------------------------------------------------- /rag/langchain_rag_groq.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/langchain_rag_groq.ipynb -------------------------------------------------------------------------------- /rag/langgraph_rag_agent_llama3_local.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/langgraph_rag_agent_llama3_local.ipynb -------------------------------------------------------------------------------- /rag/llamaindex_rag_Evaluating_the_Ideal_Chunk_Size.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/llamaindex_rag_Evaluating_the_Ideal_Chunk_Size.ipynb -------------------------------------------------------------------------------- /rag/llamaindex_togetherAI_rag.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/llamaindex_togetherAI_rag.ipynb -------------------------------------------------------------------------------- /rag/ragas/eval_ragas.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/ragas/eval_ragas.ipynb -------------------------------------------------------------------------------- /rag/ragas/rag_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/ragas/rag_image.png -------------------------------------------------------------------------------- /rag/ragas/ragas_eval_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/ragas/ragas_eval_image.png -------------------------------------------------------------------------------- /rag/ragas/readthedocs_zilliz_langchain.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/ragas/readthedocs_zilliz_langchain.ipynb -------------------------------------------------------------------------------- /rag/simple_demo/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/simple_demo/README.md -------------------------------------------------------------------------------- /rag/simple_demo/base/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/simple_demo/base/config.py -------------------------------------------------------------------------------- /rag/simple_demo/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/simple_demo/config.yaml -------------------------------------------------------------------------------- /rag/simple_demo/encoder/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/simple_demo/encoder/encoder.py -------------------------------------------------------------------------------- /rag/simple_demo/generator/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/simple_demo/generator/generator.py -------------------------------------------------------------------------------- /rag/simple_demo/rag.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/simple_demo/rag.ipynb -------------------------------------------------------------------------------- /rag/simple_demo/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/simple_demo/requirements.txt -------------------------------------------------------------------------------- /rag/simple_demo/retriever/vector_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/simple_demo/retriever/vector_db.py -------------------------------------------------------------------------------- /rag/storage_graph/default__vector_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/storage_graph/default__vector_store.json -------------------------------------------------------------------------------- /rag/storage_graph/docstore.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/storage_graph/docstore.json -------------------------------------------------------------------------------- /rag/storage_graph/image__vector_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/storage_graph/image__vector_store.json -------------------------------------------------------------------------------- /rag/storage_graph/index_store.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/rag/storage_graph/index_store.json -------------------------------------------------------------------------------- /search_mail_data/rag.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/search_mail_data/rag.ipynb -------------------------------------------------------------------------------- /search_mail_data/read_mbox_file.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/search_mail_data/read_mbox_file.ipynb -------------------------------------------------------------------------------- /transcription-and-semantic-search/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/README.md -------------------------------------------------------------------------------- /transcription-and-semantic-search/base/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/base/config.py -------------------------------------------------------------------------------- /transcription-and-semantic-search/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/config.yaml -------------------------------------------------------------------------------- /transcription-and-semantic-search/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/docker-compose.yml -------------------------------------------------------------------------------- /transcription-and-semantic-search/encoder/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/encoder/encoder.py -------------------------------------------------------------------------------- /transcription-and-semantic-search/multilingual_transcription_semantic_search.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/multilingual_transcription_semantic_search.ipynb -------------------------------------------------------------------------------- /transcription-and-semantic-search/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/requirements.txt -------------------------------------------------------------------------------- /transcription-and-semantic-search/transcriptor/whisperx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/transcriptor/whisperx.py -------------------------------------------------------------------------------- /transcription-and-semantic-search/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/transcription-and-semantic-search/utils.py -------------------------------------------------------------------------------- /translation/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/Dockerfile -------------------------------------------------------------------------------- /translation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/README.md -------------------------------------------------------------------------------- /translation/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/docker-compose.yml -------------------------------------------------------------------------------- /translation/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/requirements.txt -------------------------------------------------------------------------------- /translation/src/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/app.py -------------------------------------------------------------------------------- /translation/src/base/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/base/config.py -------------------------------------------------------------------------------- /translation/src/classifier/language_classifier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/classifier/language_classifier.py -------------------------------------------------------------------------------- /translation/src/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/config.yaml -------------------------------------------------------------------------------- /translation/src/encoder/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/encoder/encoder.py -------------------------------------------------------------------------------- /translation/src/generator/generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/generator/generator.py -------------------------------------------------------------------------------- /translation/src/lang_map.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/lang_map.yaml -------------------------------------------------------------------------------- /translation/src/populate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/populate.py -------------------------------------------------------------------------------- /translation/src/retriever/vector_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/retriever/vector_db.py -------------------------------------------------------------------------------- /translation/src/translation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/translation.ipynb -------------------------------------------------------------------------------- /translation/src/translator/translator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/translation/src/translator/translator.py -------------------------------------------------------------------------------- /voice_assistant_llm/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/voice_assistant_llm/README.md -------------------------------------------------------------------------------- /voice_assistant_llm/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/voice_assistant_llm/app.py -------------------------------------------------------------------------------- /voice_assistant_llm/rag/AIVoiceAssistant.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/voice_assistant_llm/rag/AIVoiceAssistant.py -------------------------------------------------------------------------------- /voice_assistant_llm/rag/restaurant_file.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/voice_assistant_llm/rag/restaurant_file.txt -------------------------------------------------------------------------------- /voice_assistant_llm/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/voice_assistant_llm/requirements.txt -------------------------------------------------------------------------------- /voice_assistant_llm/voice_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qianniuspace/llm_notebooks/HEAD/voice_assistant_llm/voice_service.py --------------------------------------------------------------------------------