ModelRefs / AI and ML Library Reference Index

AI and ML Library Reference Index

Quick reference for the major AI and ML libraries — scikit-learn, PyTorch, Hugging Face Transformers, LangChain and the Anthropic and OpenAI APIs.

Overview

A lookup rather than a lesson: the call signature for the function you half-remember, and one line on what it is for. The walkthroughs that teach the concepts live under the tutorials section.

Coverage spans the libraries most AI work actually touches — scikit-learn and PyTorch for modelling, Hugging Face Transformers for pretrained models, LangChain for orchestration, the Anthropic API for Claude, and the common vector stores.

Libraries covered (6)

96 symbols across 6 libraries, each with the call signature and what it is normally used for. The index is a lookup rather than a tutorial — the walkthroughs live under /tutorials/.

  • Scikit-learn (21)

    LinearRegression, LogisticRegression, RandomForestClassifier, RandomForestRegressor, SVC, KMeans, PCA, train_test_split, and more

  • PyTorch (20)

    torch.tensor, nn.Linear, nn.ReLU, nn.Conv2d, nn.LSTM, nn.Transformer, nn.CrossEntropyLoss, optim.Adam, and more

  • Hugging Face Transformers (18)

    AutoTokenizer.from_pretrained, AutoModel.from_pretrained, AutoModelForCausalLM, pipeline, Trainer, TrainingArguments, BitsAndBytesConfig, LoraConfig (PEFT), and more

  • LangChain (18)

    ChatOpenAI / ChatAnthropic, RecursiveCharacterTextSplitter, Chroma / FAISS, as_retriever, RetrievalQA.from_chain_type, create_react_agent, ChatPromptTemplate, StrOutputParser, and more

  • Anthropic Claude API (13)

    Anthropic(), messages.create, messages.stream, Tool use (function calling), Vision (image input), Prompt caching, Model IDs (current), Pinecone.Index.upsert, and more

  • Vector Databases (6)

    Pinecone.Index.upsert, Pinecone.Index.query, Chroma.add, Chroma.query, pgvector (SQL), Milvus.insert / search

Continue your research

Use these connected ModelRefs sections to compare alternatives, inspect implementation paths, and review the evidence and governance boundaries relevant to AI and ML Library Reference Index.