# py-ai-coder **Repository Path**: rizhen_xuc5566/py-ai-code ## Basic Information - **Project Name**: py-ai-coder - **Description**: 学习和实践python、机器学习、深度学习、大模型相关的代码案例 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-19 - **Last Updated**: 2025-12-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 在机器学习、深度学习、大模型、RAG、AI agent方面的代码实践 一定说明清楚代码实践的软件版本 不需要模型的代码,直接在本地电脑就好,需要模型的代码放在服务器上运行 Jupyter_server_terminals==0.5.3 jupyterlab==4.2.5 jupyterlab_pygments==0.3.0 jupyterlab_server==2.27.3 jupytehlab_widgets==3.0.13 kiwisolver==1.4.5 kubernetes==30.1.0 lancedb==0.12.0 langchain==0.3.3 langchain-chroma==0.1.2 langchain-cli==0.0.29 langchain-community==0.3.2 langchain-core==0.3.10 langchain-experimental==0.0.64 langchain-huggingface==0.0.3 langchain-openai==0.2.2 langchain-pinecone==0.1.3 langchain-qdrant==0.1.3 langchain-text-splitters==0.3.0 langchain-weaviate==0.0.2 langchainhub==0.1.20 1angdetect==1.0.9 langgraph==0.2.4 langgraph-checkpoint==1.0.3 langgraph-checkpoint-sqlite==1.0.0 langserve==0.2.2 langsmith==0.1.135 langsmith==0.1.135 layoutparser==0.3.4 libcst==1.4.0 1xm1==5.3.0 Markdown==3.7 markdown-it-py==3.0.0 MarkupSafe==2.1.5 marshmallow==3.21.3 matplotlib==3.9.2 matplot110-inline==0.1.7 mdur1==0.1.2 mistune==3.0.2 mmh3==4.1.0 monotonic==1.6 mpmath==1.3.0 multidict==6.0.5 mypy-extensions==1.0.0 nbclient==0.10.0 nbconvert==7.16.4 nbformat==5.10.4 nest-asyncio==1.6.0 networkx==3.3 n1tk==3.9.1 n1tk==3.9.1 notebook==7.2.2 notebook_shim==0.2.4 numexpr==2.10.1 numpy==1.26.4 oauthlib==3.2.2 omegaconf==2.3.0 onnx==1.16.2 onnxruntime==1.18.1 openai==1.51.2 opencv-python==4.10.0.84 opentelemetry-api==1.26.0 opentelemetry-exporter-otlp-proto-common==1.26.0 opentelemetry-exporter-otlp-proto-grpc==1.26.0 opentelemetry-instrumentation==0.47b0 opentelemetry-instrumentation-asgi==0.47b0 opentelemetry-instrumentation-fastapi==0.47b0 opentelemetry-proto==1.26.0 opentelemetry-sdk==1.26.0 opentelemetry-semantic-conventions==0.47b0 overrides==7.7.0 packaging==23.2 pandas==2.2.2 pandocfilters==1.5.1 parso==0.8.4 pdf2image==1.17.0 pdfminer.six==20231228 pdfplumber==0.11.4 pikepdf==9.1.2 pillow==10.4.0 pillow_heif==0.18.0 pinecone-client==5.0.1 pinecone-notebooks==0.1.1 pinecone-plugin-inference==1.0.3 pinecone-plugin-interface==0.0.7 pipx==1.6.0 platformdirs==4.2.2 portalocker==2.10.1 posthog==3.5.0 prometheus_client==0.21.0 prompt_tockit==3.0.47 proto-plus==1.24.0 protobuf==4.25.4 psutil==6.0.0 pure_eval==0.2.3 ру==1.11.0 pyarrow==17.0.0 # Version ## Macbook ### Python 运行路径:/Users/yelifeng/anaconda/anaconda3/envs/deploy_tts/lib/python3.11 ### Conda ``` (base) yelifeng@192 ~ % conda env list base * /Users/yelifeng/anaconda/anaconda3 deploy_tts /Users/yelifeng/anaconda/anaconda3/envs/deploy_tts ``` ## AutoDL # ML > 机器学习 ## Algorithm ### 分类 代码示例 ### 聚类 ## Application # DL > 深度学习 ## CNN ## DNN # LLM 说清楚所依赖的版本号,防止环境互相冲突 ## Traning ## Reward Mode ### Tool #### vLLM ## RLHF ## Tool ### HkOpenAI ### HugglingFace ### Modelscope ### Gradio # Python ## Class Lib # Pytorch ## Class Lib # RAG ## Component ### Langchain ### Llama-Index ### Spring AI ## Process ## Vector ### Embedding ### Vector Database # AI agent ## Component ### LangGraph # Model > 存储所需要用到的模型文件 # Data > 1.存储通用数据集和占用空间大的数据集 > > 2.每个技术栈的数据集可以放在这个技术栈所属的data文件夹下。每个技术栈下的技术内容放在这个技术内容所属的data路径下 # QA > 记录代码执行过程中出现的问题 ## RAG 1、OpenAIError: The api_key client option must be set either by passing api_key to the client or by setting the OPENAI_API_KEY environment variable