text
stringlengths
3
1.68M
id
stringlengths
13
169
metadata
dict
__index_level_0__
int64
0
2.21k
// Licensed to the LF AI & Data foundation under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use th...
milvus/internal/core/src/storage/Event.cpp/0
{ "file_path": "milvus/internal/core/src/storage/Event.cpp", "repo_id": "milvus", "token_count": 5985 }
1,664
import { Collection, Document as MongoDBDocument, ObjectId } from "mongodb"; import { BaseListChatMessageHistory } from "@langchain/core/chat_history"; import { BaseMessage, mapChatMessagesToStoredMessages, mapStoredMessagesToChatMessages, } from "@langchain/core/messages"; export interface MongoDBChatMessageHis...
langchainjs/libs/langchain-community/src/stores/message/mongodb.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/stores/message/mongodb.ts", "repo_id": "langchainjs", "token_count": 554 }
1,036
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, get_objects_from_module, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and is...
diffusers/src/diffusers/pipelines/shap_e/__init__.py/0
{ "file_path": "diffusers/src/diffusers/pipelines/shap_e/__init__.py", "repo_id": "diffusers", "token_count": 939 }
247
python_sources()
llama_index/llama-index-integrations/readers/llama-index-readers-qdrant/llama_index/readers/qdrant/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-qdrant/llama_index/readers/qdrant/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,408
// Copyright (C) 2019-2020 Zilliz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
milvus/pkg/util/hardware/container_test_linux.go/0
{ "file_path": "milvus/pkg/util/hardware/container_test_linux.go", "repo_id": "milvus", "token_count": 667 }
1,828
# Stream Dataset streaming lets you work with a dataset without downloading it. The data is streamed as you iterate over the dataset. This is especially helpful when: - You don't want to wait for an extremely large dataset to download. - The dataset size exceeds the amount of available disk space on your computer. - ...
datasets/docs/source/stream.mdx/0
{ "file_path": "datasets/docs/source/stream.mdx", "repo_id": "datasets", "token_count": 5324 }
124
import { test } from "@jest/globals"; import { BraveSearch } from "../brave_search.js"; test.skip("BraveSearchTool", async () => { const tool = new BraveSearch(); const result = await tool.call("What is Langchain?"); console.log({ result }); });
langchainjs/libs/langchain-community/src/tools/tests/brave_search.int.test.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/tools/tests/brave_search.int.test.ts", "repo_id": "langchainjs", "token_count": 79 }
1,008
{ "input_variables": ["foo"] }
langchain/libs/core/tests/unit_tests/prompts/prompt_missing_args.json/0
{ "file_path": "langchain/libs/core/tests/unit_tests/prompts/prompt_missing_args.json", "repo_id": "langchain", "token_count": 14 }
408
include Makefile-flash-att include Makefile-flash-att-v2 include Makefile-vllm include Makefile-awq include Makefile-eetq include Makefile-selective-scan unit-tests: pytest -s -vv -m "not private" tests gen-server: # Compile protos pip install grpcio-tools==1.51.1 mypy-protobuf==3.4.0 'types-protobuf>=3.20.4' --no...
text-generation-inference/server/Makefile/0
{ "file_path": "text-generation-inference/server/Makefile", "repo_id": "text-generation-inference", "token_count": 495 }
387
from typing import List, Union import numpy as np from ..utils import ( ExplicitEnum, add_end_docstrings, is_tf_available, is_torch_available, is_vision_available, logging, requires_backends, ) from .base import Pipeline, build_pipeline_init_args if is_vision_available(): from PIL im...
transformers/src/transformers/pipelines/image_classification.py/0
{ "file_path": "transformers/src/transformers/pipelines/image_classification.py", "repo_id": "transformers", "token_count": 3392 }
777
import type { D1Database } from "@cloudflare/workers-types"; import { BufferMemory } from "langchain/memory"; import { CloudflareD1MessageHistory } from "@langchain/cloudflare"; import { ChatPromptTemplate, MessagesPlaceholder, } from "@langchain/core/prompts"; import { RunnableSequence } from "@langchain/core/runn...
langchainjs/examples/src/memory/cloudflare_d1.ts/0
{ "file_path": "langchainjs/examples/src/memory/cloudflare_d1.ts", "repo_id": "langchainjs", "token_count": 864 }
824
from typing import Any, Dict, List, Optional from langchain_core.callbacks import CallbackManagerForRetrieverRun from langchain_core.documents import Document from langchain_core.pydantic_v1 import Extra, SecretStr, root_validator from langchain_core.retrievers import BaseRetriever from langchain_core.utils import con...
langchain/libs/community/langchain_community/retrievers/arcee.py/0
{ "file_path": "langchain/libs/community/langchain_community/retrievers/arcee.py", "repo_id": "langchain", "token_count": 2022 }
275
export { BaseChain, type ChainInputs } from "./base.js"; export { LLMChain, type LLMChainInput } from "./llm_chain.js"; export { APIChain, type APIChainInput, type APIChainOptions, } from "./api/api_chain.js"; export { ConversationChain } from "./conversation.js"; export { SequentialChain, type SequentialChai...
langchainjs/langchain/src/chains/index.ts/0
{ "file_path": "langchainjs/langchain/src/chains/index.ts", "repo_id": "langchainjs", "token_count": 966 }
891
from llama_index.vector_stores.pinecone.base import PineconeVectorStore __all__ = ["PineconeVectorStore"]
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-pinecone/llama_index/vector_stores/pinecone/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-pinecone/llama_index/vector_stores/pinecone/__init__.py", "repo_id": "llama_index", "token_count": 33 }
1,533
# coding=utf-8 # Copyright 2023 The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless r...
transformers/src/transformers/models/sam/configuration_sam.py/0
{ "file_path": "transformers/src/transformers/models/sam/configuration_sam.py", "repo_id": "transformers", "token_count": 5408 }
653
# LlamaIndex Llms Integration: Langchain
llama_index/llama-index-integrations/llms/llama-index-llms-langchain/README.md/0
{ "file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-langchain/README.md", "repo_id": "llama_index", "token_count": 11 }
1,399
"""Simple keyword-table based index. Similar to KeywordTableIndex, but uses a simpler keyword extraction technique that doesn't involve GPT - just uses regex. """ from typing import Any, Set, Union from llama_index.legacy.core.base_retriever import BaseRetriever from llama_index.legacy.indices.keyword_table.base im...
llama_index/llama-index-legacy/llama_index/legacy/indices/keyword_table/simple_base.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/indices/keyword_table/simple_base.py", "repo_id": "llama_index", "token_count": 492 }
1,661
# Security Policy ## Reporting a Vulnerability Please report security vulnerabilities by email to `security@langchain.dev`. This email is an alias to a subset of our maintainers, and will ensure the issue is promptly triaged and acted upon as needed.
langchain/SECURITY.md/0
{ "file_path": "langchain/SECURITY.md", "repo_id": "langchain", "token_count": 57 }
73
<jupyter_start><jupyter_text>Building a Custom AgentIn this cookbook we show you how to build a custom agent using LlamaIndex.The easiest way to build a custom agent is to simply subclass `CustomSimpleAgentWorker` and implement a few required functions. You have complete flexibility in defining the agent step-wise logi...
llama_index/docs/examples/agent/custom_agent.ipynb/0
{ "file_path": "llama_index/docs/examples/agent/custom_agent.ipynb", "repo_id": "llama_index", "token_count": 4355 }
1,122
from llama_index.core.readers.base import BaseReader from llama_index.readers.airbyte_typeform import AirbyteTypeformReader def test_class(): names_of_base_classes = [b.__name__ for b in AirbyteTypeformReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
llama_index/llama-index-integrations/readers/llama-index-readers-airbyte-typeform/tests/test_readers_airbyte_typeform.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-airbyte-typeform/tests/test_readers_airbyte_typeform.py", "repo_id": "llama_index", "token_count": 95 }
1,372
import { test } from "@jest/globals"; import { OpenAI } from "@langchain/openai"; import { PromptTemplate } from "@langchain/core/prompts"; import { Document } from "@langchain/core/documents"; import { loadQAMapReduceChain, loadQARefineChain, } from "../question_answering/load.js"; import { createStuffDocumentsCha...
langchainjs/langchain/src/chains/tests/combine_docs_chain.int.test.ts/0
{ "file_path": "langchainjs/langchain/src/chains/tests/combine_docs_chain.int.test.ts", "repo_id": "langchainjs", "token_count": 616 }
868
from typing import TYPE_CHECKING from ...utils import ( DIFFUSERS_SLOW_IMPORT, OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_transformers_available, ) _dummy_objects = {} _import_structure = {} try: if not (is_transformers_available() and is_torch_available()): ...
diffusers/src/diffusers/pipelines/amused/__init__.py/0
{ "file_path": "diffusers/src/diffusers/pipelines/amused/__init__.py", "repo_id": "diffusers", "token_count": 796 }
249
from langchain_core.tracers.langchain import ( LangChainTracer, get_client, log_error_once, wait_for_all_tracers, ) __all__ = ["log_error_once", "wait_for_all_tracers", "get_client", "LangChainTracer"]
langchain/libs/langchain/langchain/schema/callbacks/tracers/langchain.py/0
{ "file_path": "langchain/libs/langchain/langchain/schema/callbacks/tracers/langchain.py", "repo_id": "langchain", "token_count": 91 }
537
from pathlib import Path from langchain_community.document_loaders import DocusaurusLoader DOCS_URL = str(Path(__file__).parent.parent / "examples/docusaurus-sitemap.xml") def test_docusarus() -> None: """Test sitemap loader.""" loader = DocusaurusLoader(DOCS_URL, is_local=True) documents = loader.load(...
langchain/libs/community/tests/integration_tests/document_loaders/test_docusaurus.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/document_loaders/test_docusaurus.py", "repo_id": "langchain", "token_count": 515 }
343
from langchain_community.vectorstores.semadb import SemaDB __all__ = ["SemaDB"]
langchain/libs/langchain/langchain/vectorstores/semadb.py/0
{ "file_path": "langchain/libs/langchain/langchain/vectorstores/semadb.py", "repo_id": "langchain", "token_count": 28 }
585
/* * Licensed to the LF AI & Data foundation under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use...
milvus/pkg/util/requestutil/getter.go/0
{ "file_path": "milvus/pkg/util/requestutil/getter.go", "repo_id": "milvus", "token_count": 1383 }
2,120
import Metal from "@getmetal/metal-sdk"; import { BaseRetriever, BaseRetrieverInput } from "@langchain/core/retrievers"; import { Document } from "@langchain/core/documents"; /** * Interface for the fields required during the initialization of a * `MetalRetriever` instance. It extends the `BaseRetrieverInput` * in...
langchainjs/libs/langchain-community/src/retrievers/metal.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/retrievers/metal.ts", "repo_id": "langchainjs", "token_count": 634 }
1,066
interactions: - request: body: '{"input": [[8134], [2308], [43673]], "encoding_format": "base64"}' headers: Accept: - '*/*' Accept-Encoding: - gzip, deflate Connection: - keep-alive Content-Length: - '65' Content-Type: - application/json User-Age...
langchain/libs/community/tests/integration_tests/vectorstores/cassettes/test_weaviate/TestWeaviate.test_similarity_search_with_metadata.yaml/0
{ "file_path": "langchain/libs/community/tests/integration_tests/vectorstores/cassettes/test_weaviate/TestWeaviate.test_similarity_search_with_metadata.yaml", "repo_id": "langchain", "token_count": 22071 }
378
from __future__ import annotations from typing import Any, Dict, Iterable, List, Optional, Tuple, Type, Union from langchain_core.documents import Document from langchain_core.embeddings import Embeddings from langchain_core.vectorstores import VectorStore, VectorStoreRetriever class VespaStore(VectorStore): ""...
langchain/libs/community/langchain_community/vectorstores/vespa.py/0
{ "file_path": "langchain/libs/community/langchain_community/vectorstores/vespa.py", "repo_id": "langchain", "token_count": 4435 }
321
<jupyter_start><jupyter_text>Wikidata>[Wikidata](https://wikidata.org/) is a free and open knowledge base that can be read and edited by both humans and machines. Wikidata is one of the world's largest open knowledge bases.First, you need to install `wikibase-rest-api-client` and `mediawikiapi` python packages.<jupyter...
langchain/docs/docs/integrations/tools/wikidata.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/tools/wikidata.ipynb", "repo_id": "langchain", "token_count": 193 }
184
--- sidebar_custom_props: description: Interface with language models sidebar_class_name: hidden --- # Model I/O The core element of any language model application is... the model. LangChain gives you the building blocks to interface with any language model. ![model_io_diagram](/img/model_io.jpg) ## [Conceptual G...
langchainjs/docs/core_docs/docs/modules/model_io/index.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/modules/model_io/index.mdx", "repo_id": "langchainjs", "token_count": 382 }
748
import itertools import logging import sys from typing import TYPE_CHECKING, Any, Iterator, List, Optional, Tuple from langchain_core.documents import Document from langchain_community.document_loaders.base import BaseLoader logger = logging.getLogger(__file__) if TYPE_CHECKING: from pyspark.sql import SparkSes...
langchain/libs/community/langchain_community/document_loaders/pyspark_dataframe.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/pyspark_dataframe.py", "repo_id": "langchain", "token_count": 1496 }
266
from typing import List from langchain_core.output_parsers.transform import BaseTransformOutputParser class StrOutputParser(BaseTransformOutputParser[str]): """OutputParser that parses LLMResult into the top likely string.""" @classmethod def is_lc_serializable(cls) -> bool: """Return whether th...
langchain/libs/core/langchain_core/output_parsers/string.py/0
{ "file_path": "langchain/libs/core/langchain_core/output_parsers/string.py", "repo_id": "langchain", "token_count": 275 }
392
import { OpenAIEmbeddings } from "@langchain/openai"; import { loadEvaluator } from "langchain/evaluation"; const embedding = new OpenAIEmbeddings(); const chain = await loadEvaluator("pairwise_embedding_distance", { embedding }); const res = await chain.evaluateStringPairs({ prediction: "Seattle is hot in June", ...
langchainjs/examples/src/guides/evaluation/comparision_evaluator/pairwise_embedding_distance.ts/0
{ "file_path": "langchainjs/examples/src/guides/evaluation/comparision_evaluator/pairwise_embedding_distance.ts", "repo_id": "langchainjs", "token_count": 216 }
774
# Astra DB Loader The Astra DB Loader returns a set of documents retrieved from Astra DB. The user initializes the loader with an Astra DB index. They then pass in a vector. ## Usage Here's an example usage of the AstraDBReader. ```python from openai import OpenAI from llama_index import download_loader # Get th...
llama_index/llama-index-integrations/readers/llama-index-readers-astra-db/README.md/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-astra-db/README.md", "repo_id": "llama_index", "token_count": 518 }
1,264
import { TEXT_EMBEDDING_MODELS } from "$env/static/private"; import { z } from "zod"; import { sum } from "$lib/utils/sum"; import { embeddingEndpoints, embeddingEndpointSchema, type EmbeddingEndpoint, } from "$lib/server/embeddingEndpoints/embeddingEndpoints"; import { embeddingEndpointTransformersJS } from "$lib/...
chat-ui/src/lib/server/embeddingModels.ts/0
{ "file_path": "chat-ui/src/lib/server/embeddingModels.ts", "repo_id": "chat-ui", "token_count": 1017 }
98
"""Unit tests to verify function of the Riva TTS implementation.""" from typing import TYPE_CHECKING, Any, AsyncGenerator, Generator, cast from unittest.mock import patch import pytest from langchain_community.utilities.nvidia_riva import RivaAudioEncoding, RivaTTS if TYPE_CHECKING: import riva.client impor...
langchain/libs/community/tests/unit_tests/utilities/test_nvidia_riva_tts.py/0
{ "file_path": "langchain/libs/community/tests/unit_tests/utilities/test_nvidia_riva_tts.py", "repo_id": "langchain", "token_count": 2144 }
409
# rag-multi-modal-mv-local Visual search is a famililar application to many with iPhones or Android devices. It allows user to serch photos using natural language. With the release of open source, multi-modal LLMs it's possible to build this kind of application for yourself for your own private photo collection. ...
langchain/templates/rag-multi-modal-mv-local/README.md/0
{ "file_path": "langchain/templates/rag-multi-modal-mv-local/README.md", "repo_id": "langchain", "token_count": 1384 }
683
from langchain_community.llms.huggingface_hub import ( HuggingFaceHub, ) __all__ = ["HuggingFaceHub"]
langchain/libs/langchain/langchain/llms/huggingface_hub.py/0
{ "file_path": "langchain/libs/langchain/langchain/llms/huggingface_hub.py", "repo_id": "langchain", "token_count": 41 }
516
.venv .github .git .mypy_cache .pytest_cache Dockerfile
langchain/libs/langchain/.dockerignore/0
{ "file_path": "langchain/libs/langchain/.dockerignore", "repo_id": "langchain", "token_count": 25 }
456
[build-system] build-backend = "poetry.core.masonry.api" requires = ["poetry-core"] [tool.codespell] check-filenames = true check-hidden = true skip = "*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb" [tool.llamahub] classes = ["AmazonProductExtractionPack"] contains_example = false import_path = "llama_index.packs.a...
llama_index/llama-index-packs/llama-index-packs-amazon-product-extraction/pyproject.toml/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-amazon-product-extraction/pyproject.toml", "repo_id": "llama_index", "token_count": 685 }
1,659
<jupyter_start><jupyter_text>Tree of Thought (ToT) exampleThe Tree of Thought (ToT) is a chain that allows you to query a Large Language Model (LLM) using the Tree of Thought technique. This is based on the paper ["Large Language Model Guided Tree-of-Thought"](https://arxiv.org/pdf/2305.08291.pdf)<jupyter_code>from lan...
langchain/cookbook/tree_of_thought.ipynb/0
{ "file_path": "langchain/cookbook/tree_of_thought.ipynb", "repo_id": "langchain", "token_count": 1340 }
81
@@@@body@struct_name void @@struct_name@@::accept(@@root_base@@Visitor& visitor) { visitor.visit(*this); } #### @@@@main // Generated File // DO NOT EDIT #include "query/@@root_base@@.h" #include "@@root_base@@Visitor.h" namespace @@namespace@@ { @@body@@ } // namespace @@namespace@@ ####
milvus/tools/core_gen/templates/node_def.cpp/0
{ "file_path": "milvus/tools/core_gen/templates/node_def.cpp", "repo_id": "milvus", "token_count": 111 }
2,015
# GraphQL Loader This loader loads documents via GraphQL queries from a GraphQL endpoint. The user specifies a GraphQL endpoint URL with optional credentials to initialize the reader. By declaring the GraphQL query and optional variables (parameters) the loader can fetch the nested result docs. ## Usage Here's an ex...
llama_index/llama-index-integrations/readers/llama-index-readers-graphql/README.md/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-graphql/README.md", "repo_id": "llama_index", "token_count": 387 }
1,373
import sys import subprocess import contextlib import pytest import asyncio import os import docker import json import math import time import random from docker.errors import NotFound from typing import Optional, List, Dict from syrupy.extensions.json import JSONSnapshotExtension from aiohttp import ClientConnectorEr...
text-generation-inference/integration-tests/conftest.py/0
{ "file_path": "text-generation-inference/integration-tests/conftest.py", "repo_id": "text-generation-inference", "token_count": 6395 }
421
import json import logging from typing import ( Any, Dict, List, Mapping, Optional, Tuple, ) from langchain.callbacks.manager import CallbackManagerForLLMRun from langchain.schema import ( ChatGeneration, ChatResult, ) from langchain_core.language_models import BaseChatModel from langch...
langchain/libs/experimental/langchain_experimental/llms/llamaapi.py/0
{ "file_path": "langchain/libs/experimental/langchain_experimental/llms/llamaapi.py", "repo_id": "langchain", "token_count": 1757 }
420
# coding=utf-8 # Copyright 2020 The Facebook AI Research Team Authors and The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LIC...
transformers/src/transformers/models/bart/tokenization_bart_fast.py/0
{ "file_path": "transformers/src/transformers/models/bart/tokenization_bart_fast.py", "repo_id": "transformers", "token_count": 5760 }
606
from __future__ import annotations import logging from typing import Any, Callable, Dict, List, Optional, Sequence from langchain_core.callbacks import ( AsyncCallbackManagerForLLMRun, CallbackManagerForLLMRun, ) from langchain_core.language_models.llms import LLM from langchain_core.load.serializable import ...
langchain/libs/community/langchain_community/llms/yandex.py/0
{ "file_path": "langchain/libs/community/langchain_community/llms/yandex.py", "repo_id": "langchain", "token_count": 4833 }
270
import asyncio import logging from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Sequence, Union from huggingface_hub import ( AsyncInferenceClient, InferenceClient, model_info, ) from huggingface_hub.hf_api import ModelInfo from llama_index.core.base.embeddings.base import ( DEFAUL...
llama_index/llama-index-integrations/embeddings/llama-index-embeddings-huggingface/llama_index/embeddings/huggingface/base.py/0
{ "file_path": "llama_index/llama-index-integrations/embeddings/llama-index-embeddings-huggingface/llama_index/embeddings/huggingface/base.py", "repo_id": "llama_index", "token_count": 6460 }
1,364
from llama_index.packs.node_parser_semantic_chunking.base import ( SemanticChunkingQueryEnginePack, ) __all__ = ["SemanticChunkingQueryEnginePack"]
llama_index/llama-index-packs/llama-index-packs-node-parser-semantic-chunking/llama_index/packs/node_parser_semantic_chunking/__init__.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-node-parser-semantic-chunking/llama_index/packs/node_parser_semantic_chunking/__init__.py", "repo_id": "llama_index", "token_count": 54 }
1,598
import inspect from typing import Callable, List, Optional, Union import torch from transformers import ( CLIPImageProcessor, CLIPTextModel, CLIPTokenizer, WhisperForConditionalGeneration, WhisperProcessor, ) from diffusers import ( AutoencoderKL, DDIMScheduler, DiffusionPipeline, ...
diffusers/examples/community/speech_to_image_diffusion.py/0
{ "file_path": "diffusers/examples/community/speech_to_image_diffusion.py", "repo_id": "diffusers", "token_count": 5146 }
190
from llama_index.core.storage.kvstore.types import BaseKVStore from llama_index.storage.kvstore.redis import RedisKVStore def test_class(): names_of_base_classes = [b.__name__ for b in RedisKVStore.__mro__] assert BaseKVStore.__name__ in names_of_base_classes
llama_index/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-redis/tests/test_storage_kvstore_redis.py/0
{ "file_path": "llama_index/llama-index-integrations/storage/kvstore/llama-index-storage-kvstore-redis/tests/test_storage_kvstore_redis.py", "repo_id": "llama_index", "token_count": 102 }
1,502
// Copyright (C) 2019-2020 Zilliz. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
milvus/internal/core/src/query/SearchOnIndex.cpp/0
{ "file_path": "milvus/internal/core/src/query/SearchOnIndex.cpp", "repo_id": "milvus", "token_count": 631 }
1,878
package writebuffer import ( "fmt" "math/rand" "testing" "time" "github.com/samber/lo" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/suite" "github.com/milvus-io/milvus-proto/go-api/v2/commonpb" "github.com/milvus-io/milvus-proto/go-api/v2/msgpb" "github.com/milvus-io/milvus-proto/go-api/...
milvus/internal/datanode/writebuffer/bf_write_buffer_test.go/0
{ "file_path": "milvus/internal/datanode/writebuffer/bf_write_buffer_test.go", "repo_id": "milvus", "token_count": 8254 }
1,710
--- sidebar_position: 1 sidebar_class_name: hidden --- # Chat models <!-- This file is autogenerated. Do not edit directly. --> <!-- See `scripts/model-docs.table.js` for details --> ## Features (natively supported) All ChatModels implement the Runnable interface, which comes with default implementations of all met...
langchainjs/docs/core_docs/docs/integrations/chat/index.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/chat/index.mdx", "repo_id": "langchainjs", "token_count": 835 }
728
# coding=utf-8 # Copyright 2021-2023 HuggingFace Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law ...
transformers/tests/models/encodec/test_feature_extraction_encodec.py/0
{ "file_path": "transformers/tests/models/encodec/test_feature_extraction_encodec.py", "repo_id": "transformers", "token_count": 4914 }
732
<html> <head> <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> <title>Candle YOLOv8 Rust/WASM</title> </head> <body></body> </html> <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <style> ...
candle/candle-wasm-examples/yolo/lib-example.html/0
{ "file_path": "candle/candle-wasm-examples/yolo/lib-example.html", "repo_id": "candle", "token_count": 9649 }
80
# Copyright 2023 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
transformers/tests/repo_utils/test_check_docstrings.py/0
{ "file_path": "transformers/tests/repo_utils/test_check_docstrings.py", "repo_id": "transformers", "token_count": 1935 }
764
# coding=utf-8 # Copyright 2022 School of EIC, Huazhong University of Science & Technology and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at ...
transformers/src/transformers/models/yolos/modeling_yolos.py/0
{ "file_path": "transformers/src/transformers/models/yolos/modeling_yolos.py", "repo_id": "transformers", "token_count": 24118 }
759
"""Typesense Vector store index. An index that is built on top of an existing vector store. """ import logging from typing import Any, Callable, List, Optional, cast from llama_index.core.schema import BaseNode, MetadataMode, TextNode from llama_index.core.utils import get_tokenizer from llama_index.core.vector_sto...
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-typesense/llama_index/vector_stores/typesense/base.py/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-typesense/llama_index/vector_stores/typesense/base.py", "repo_id": "llama_index", "token_count": 4048 }
1,573
export { type RunnableFunc, type RunnableLike, type RunnableBatchOptions, type RunnableRetryFailedAttemptHandler, Runnable, type RunnableInterface, type RunnableBindingArgs, RunnableBinding, RunnableEach, RunnableRetry, RunnableSequence, RunnableMap, RunnableParallel, RunnableLambda, Runna...
langchainjs/langchain/src/schema/runnable/base.ts/0
{ "file_path": "langchainjs/langchain/src/schema/runnable/base.ts", "repo_id": "langchainjs", "token_count": 155 }
922
# coding=utf-8 # Copyright 2022 Meta Platforms, Inc.and The HuggingFace Inc. team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/...
transformers/src/transformers/models/maskformer/configuration_maskformer.py/0
{ "file_path": "transformers/src/transformers/models/maskformer/configuration_maskformer.py", "repo_id": "transformers", "token_count": 4190 }
655
from __future__ import annotations import uuid import warnings from typing import Any, Dict, Iterable, List, Optional, Tuple import numpy as np from langchain_core.documents import Document from langchain_core.embeddings import Embeddings from langchain_core.utils import get_from_dict_or_env from langchain_core.vecto...
langchain/libs/community/langchain_community/vectorstores/opensearch_vector_search.py/0
{ "file_path": "langchain/libs/community/langchain_community/vectorstores/opensearch_vector_search.py", "repo_id": "langchain", "token_count": 14782 }
317
# LlamaIndex Vector_Stores Integration: Pgvecto Rs
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-pgvecto-rs/README.md/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-pgvecto-rs/README.md", "repo_id": "llama_index", "token_count": 17 }
1,471
// JS backend not used by default, see README for instructions. import { NextRequest, NextResponse } from "next/server"; import type { BaseLanguageModel } from "@langchain/core/language_models/base"; import type { Document } from "@langchain/core/documents"; import { RunnableSequence, RunnableMap, RunnableBran...
weblangchain/nextjs/app/api/chat/stream_log/route.ts/0
{ "file_path": "weblangchain/nextjs/app/api/chat/stream_log/route.ts", "repo_id": "weblangchain", "token_count": 2983 }
2,211
# Confluence >[Confluence](https://www.atlassian.com/software/confluence) is a wiki collaboration platform that saves and organizes all of the project-related material. `Confluence` is a knowledge base that primarily handles content management activities. ## Installation and Setup ```bash pip install atlassian-pyt...
langchain/docs/docs/integrations/providers/confluence.mdx/0
{ "file_path": "langchain/docs/docs/integrations/providers/confluence.mdx", "repo_id": "langchain", "token_count": 198 }
141
from uuid import UUID import pytest from langchain_community.llms import FakeListLLM from langchain_core.tools import Tool from langchain.agents import ( AgentExecutor, AgentExecutorIterator, AgentType, initialize_agent, ) from langchain.schema import RUN_KEY from tests.unit_tests.agents.test_agent im...
langchain/libs/langchain/tests/unit_tests/agents/test_agent_iterator.py/0
{ "file_path": "langchain/libs/langchain/tests/unit_tests/agents/test_agent_iterator.py", "repo_id": "langchain", "token_count": 4358 }
595
# Copyright 2023-present the HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
peft/examples/int8_training/fine_tune_blip2_int8.py/0
{ "file_path": "peft/examples/int8_training/fine_tune_blip2_int8.py", "repo_id": "peft", "token_count": 1286 }
312
# coding=utf-8 # Copyright 2023 The HuggingFace Inc. team. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
transformers/src/transformers/models/pix2struct/processing_pix2struct.py/0
{ "file_path": "transformers/src/transformers/models/pix2struct/processing_pix2struct.py", "repo_id": "transformers", "token_count": 2993 }
680
/* eslint-disable import/first */ import { z } from "zod"; import { DynamicStructuredTool } from "@langchain/core/tools"; const complexTool = new DynamicStructuredTool({ name: "complex_tool", description: "Do something complex with a complex tool.", schema: z.object({ intArg: z.number(), floatArg: z.numb...
langchainjs/examples/src/use_cases/tool_use/tool_error_handling_intro.ts/0
{ "file_path": "langchainjs/examples/src/use_cases/tool_use/tool_error_handling_intro.ts", "repo_id": "langchainjs", "token_count": 470 }
870
# LlamaIndex Multi Modal Llms Integration: Ollama
llama_index/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-ollama/README.md/0
{ "file_path": "llama_index/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-ollama/README.md", "repo_id": "llama_index", "token_count": 15 }
1,248
from langchain_community.tools.slack.get_channel import SlackGetChannel __all__ = ["SlackGetChannel"]
langchain/libs/langchain/langchain/tools/slack/get_channel.py/0
{ "file_path": "langchain/libs/langchain/langchain/tools/slack/get_channel.py", "repo_id": "langchain", "token_count": 31 }
568
"""Loader that loads data from Sharepoint Document Library""" from __future__ import annotations from typing import Iterator, List, Optional, Sequence from langchain_core.documents import Document from langchain_core.pydantic_v1 import Field from langchain_community.document_loaders.base_o365 import ( O365BaseLo...
langchain/libs/community/langchain_community/document_loaders/sharepoint.py/0
{ "file_path": "langchain/libs/community/langchain_community/document_loaders/sharepoint.py", "repo_id": "langchain", "token_count": 894 }
248
import { logVersion010MigrationWarning } from "../util/entrypoint_deprecation.js"; /* #__PURE__ */ logVersion010MigrationWarning({ oldEntrypointName: "llms/writer", }); export * from "@langchain/community/llms/writer";
langchainjs/langchain/src/llms/writer.ts/0
{ "file_path": "langchainjs/langchain/src/llms/writer.ts", "repo_id": "langchainjs", "token_count": 70 }
996
import { test, expect } from "@jest/globals"; import { Document } from "@langchain/core/documents"; import { FakeEmbeddings } from "@langchain/core/utils/testing"; import { FaissStore } from "../faiss.js"; test("Test FaissStore.fromTexts + addVectors", async () => { const vectorStore = await FaissStore.fromTexts( ...
langchainjs/libs/langchain-community/src/vectorstores/tests/faiss.test.ts/0
{ "file_path": "langchainjs/libs/langchain-community/src/vectorstores/tests/faiss.test.ts", "repo_id": "langchainjs", "token_count": 3793 }
998
insert_performance: collections: - server: db_config.primary_path: /test/milvus/db_data_7/sub_50m_512_512_sub_wal cache_config.cpu_cache_capacity: 8 engine_config.use_blas_threshold: 1100 engine_config.gpu_search_threshold: 1 gpu_resource_config.enable: false ...
milvus/tests/benchmark/milvus_benchmark/suites/insert_binary.yaml/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/suites/insert_binary.yaml", "repo_id": "milvus", "token_count": 602 }
1,944
<jupyter_start><jupyter_text>Qdrant Reader<jupyter_code>%pip install llama-index-readers-qdrant import logging import sys logging.basicConfig(stream=sys.stdout, level=logging.INFO) logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))<jupyter_output><empty_output><jupyter_text>If you're opening this...
llama_index/docs/examples/data_connectors/QdrantDemo.ipynb/0
{ "file_path": "llama_index/docs/examples/data_connectors/QdrantDemo.ipynb", "repo_id": "llama_index", "token_count": 450 }
1,075
# Copyright 2024 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py/0
{ "file_path": "diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py", "repo_id": "diffusers", "token_count": 37895 }
237
- name: indexcoord docker_container: name: indexcoord image: "{{image}}" command: ["milvus", "run", "indexcoord"] env: ETCD_ENDPOINTS: "{{ETCD_ENDPOINTS}}" MINIO_ADDRESS: "{{MINIO_ADDRESS}}" PULSAR_ADDRESS: "{{PULSAR_ADDRESS}}" INDEX_COORD_ADDRESS: "{{INDEX_COORD_ADDRESS}}" ...
milvus/deployments/docker/cluster-distributed-deployment/roles/deploy-indexcoord/tasks/main.yml/0
{ "file_path": "milvus/deployments/docker/cluster-distributed-deployment/roles/deploy-indexcoord/tasks/main.yml", "repo_id": "milvus", "token_count": 204 }
1,637
import asyncio import json import logging from typing import Any, Callable, Dict, List, Optional, Tuple from llama_index.legacy.core.base_query_engine import BaseQueryEngine from llama_index.legacy.core.response.schema import Response from llama_index.legacy.indices.struct_store.sql_retriever import ( BaseSQLParse...
llama_index/llama-index-legacy/llama_index/legacy/query_engine/jsonalyze_query_engine.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/query_engine/jsonalyze_query_engine.py", "repo_id": "llama_index", "token_count": 5455 }
1,512
from llama_index.llms.azure_openai.base import ( AzureOpenAI, SyncAzureOpenAI, AsyncAzureOpenAI, ) __all__ = ["AzureOpenAI", "SyncAzureOpenAI", "AsyncAzureOpenAI"]
llama_index/llama-index-integrations/llms/llama-index-llms-azure-openai/llama_index/llms/azure_openai/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-azure-openai/llama_index/llms/azure_openai/__init__.py", "repo_id": "llama_index", "token_count": 76 }
1,302
from collections import defaultdict from functools import partial from inspect import signature from typing import Any, Optional, Sequence, Type from langchain_core.runnables import RunnableLambda, RunnablePassthrough from langchain_core.runnables.base import RunnableLike from langgraph.channels.base import BaseChann...
langgraph/langgraph/graph/state.py/0
{ "file_path": "langgraph/langgraph/graph/state.py", "repo_id": "langgraph", "token_count": 2772 }
1,076
import * as url from "node:url"; import * as path from "node:path"; import { test, expect } from "@jest/globals"; import { SRTLoader } from "../fs/srt.js"; test("Test SRT loader from file", async () => { const filePath = path.resolve( path.dirname(url.fileURLToPath(import.meta.url)), "./example_data/Star_War...
langchainjs/langchain/src/document_loaders/tests/srt.test.ts/0
{ "file_path": "langchainjs/langchain/src/document_loaders/tests/srt.test.ts", "repo_id": "langchainjs", "token_count": 248 }
946
import io import json import fsspec import pytest from datasets import Dataset, DatasetDict, Features, NamedSplit, Value from datasets.io.json import JsonDatasetReader, JsonDatasetWriter from ..utils import assert_arrow_memory_doesnt_increase, assert_arrow_memory_increases def _check_json_dataset(dataset, expected...
datasets/tests/io/test_json.py/0
{ "file_path": "datasets/tests/io/test_json.py", "repo_id": "datasets", "token_count": 4977 }
146
[ { "deploy_mode": "cluster", "suite_params": [ { "suite": "2_cpu_ann_accuracy.yaml", "image_type": "cpu" } ] }, { "suite_params": [ { "suite": "2_cpu_ann_accuracy.yaml", "imag...
milvus/tests/benchmark/milvus_benchmark/scheduler/debug.json/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/scheduler/debug.json", "repo_id": "milvus", "token_count": 255 }
1,963
import json import os import shutil import sys import tempfile import unittest from unittest import TestCase from unittest.mock import patch import faiss import numpy as np from datasets import Dataset from transformers import BartConfig, BartTokenizer, DPRConfig, DPRQuestionEncoderTokenizer, RagConfig from transform...
transformers/examples/research_projects/rag/test_distributed_retriever.py/0
{ "file_path": "transformers/examples/research_projects/rag/test_distributed_retriever.py", "repo_id": "transformers", "token_count": 6637 }
599
<!--Copyright 2024 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
diffusers/docs/TRANSLATING.md/0
{ "file_path": "diffusers/docs/TRANSLATING.md", "repo_id": "diffusers", "token_count": 1100 }
180
from torch import nn class ClassificationHead(nn.Module): """Classification Head for transformer encoders""" def __init__(self, class_size, embed_size): super().__init__() self.class_size = class_size self.embed_size = embed_size # self.mlp1 = nn.Linear(embed_size, embed_size...
transformers/examples/research_projects/pplm/pplm_classification_head.py/0
{ "file_path": "transformers/examples/research_projects/pplm/pplm_classification_head.py", "repo_id": "transformers", "token_count": 281 }
583
from langchain_community.document_loaders.modern_treasury import ModernTreasuryLoader def test_modern_treasury_loader() -> None: """Test Modern Treasury file loader.""" modern_treasury_loader = ModernTreasuryLoader("payment_orders") documents = modern_treasury_loader.load() assert len(documents) == 1...
langchain/libs/community/tests/integration_tests/document_loaders/test_modern_treasury.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/document_loaders/test_modern_treasury.py", "repo_id": "langchain", "token_count": 95 }
325
# coding=utf-8 # Copyright 2020 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
transformers/tests/models/ibert/test_modeling_ibert.py/0
{ "file_path": "transformers/tests/models/ibert/test_modeling_ibert.py", "repo_id": "transformers", "token_count": 14932 }
766
<jupyter_start><jupyter_text>DingoDB>[DingoDB](https://dingodb.readthedocs.io/en/latest/) is a distributed multi-mode vector database, which combines the characteristics of data lakes and vector databases, and can store data of any type and size (Key-Value, PDF, audio, video, etc.). It has real-time low-latency process...
langchain/docs/docs/integrations/vectorstores/dingo.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/vectorstores/dingo.ipynb", "repo_id": "langchain", "token_count": 1161 }
187
<jupyter_start><jupyter_text>scikit-learn>[scikit-learn](https://scikit-learn.org/stable/) is an open-source collection of machine learning algorithms, including some implementations of the [k nearest neighbors](https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.NearestNeighbors.html). `SKLearnVectorSt...
langchain/docs/docs/integrations/vectorstores/sklearn.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/vectorstores/sklearn.ipynb", "repo_id": "langchain", "token_count": 1214 }
184
"""Constitutional principles from https://arxiv.org/pdf/2212.08073.pdf (Bai et al. 2022) UnifiedObjectives v0.2 principles ("uo-*") adapted from https://examine.dev/docs/Unified_objectives.pdf (Samwald et al. 2023) """ # flake8: noqa from typing import Dict from langchain.chains.constitutional_ai.models import Constit...
langchain/libs/langchain/langchain/chains/constitutional_ai/principles.py/0
{ "file_path": "langchain/libs/langchain/langchain/chains/constitutional_ai/principles.py", "repo_id": "langchain", "token_count": 5906 }
456
from llama_index.core.vector_stores.types import VectorStore from llama_index.vector_stores.zep import ZepVectorStore def test_class(): names_of_base_classes = [b.__name__ for b in ZepVectorStore.__mro__] assert VectorStore.__name__ in names_of_base_classes
llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-zep/tests/test_vector_stores_zep.py/0
{ "file_path": "llama_index/llama-index-integrations/vector_stores/llama-index-vector-stores-zep/tests/test_vector_stores_zep.py", "repo_id": "llama_index", "token_count": 92 }
1,549
<!--Copyright 2022 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
transformers/docs/source/it/perf_infer_gpu_many.md/0
{ "file_path": "transformers/docs/source/it/perf_infer_gpu_many.md", "repo_id": "transformers", "token_count": 420 }
508
# Q-Learning Recap [[q-learning-recap]] *Q-Learning* **is the RL algorithm that** : - Trains a *Q-function*, an **action-value function** encoded, in internal memory, by a *Q-table* **containing all the state-action pair values.** - Given a state and action, our Q-function **will search its Q-table for the correspo...
deep-rl-class/units/en/unit2/q-learning-recap.mdx/0
{ "file_path": "deep-rl-class/units/en/unit2/q-learning-recap.mdx", "repo_id": "deep-rl-class", "token_count": 505 }
168
locust_search_performance: collections: - milvus: db_config.primary_path: /test/milvus/db_data_011/cluster/sift_1m_128_l2_2 suffix_path: true cache_config.cpu_cache_capacity: 8GB cache_config.insert_buffer_size: 2GB engine_config.use_blas_threshold: 1100 engin...
milvus/tests/benchmark/milvus_benchmark/suites/locust_cluster_search.yaml/0
{ "file_path": "milvus/tests/benchmark/milvus_benchmark/suites/locust_cluster_search.yaml", "repo_id": "milvus", "token_count": 730 }
1,874
--- sidebar_label: Google AI keywords: [gemini, gemini-pro, ChatGoogleGenerativeAI] --- import CodeBlock from "@theme/CodeBlock"; # ChatGoogleGenerativeAI You can access Google's `gemini` and `gemini-vision` models, as well as other generative models in LangChain through `ChatGoogleGenerativeAI` class in the `@langc...
langchainjs/docs/core_docs/docs/integrations/chat/google_generativeai.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/chat/google_generativeai.mdx", "repo_id": "langchainjs", "token_count": 597 }
698
# Copyright 2024 The HuggingFace Team, the AllenNLP library authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # ...
diffusers/utils/stale.py/0
{ "file_path": "diffusers/utils/stale.py", "repo_id": "diffusers", "token_count": 1221 }
302
<!--Copyright 2024 The HuggingFace Team. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
diffusers/docs/source/en/api/pipelines/dit.md/0
{ "file_path": "diffusers/docs/source/en/api/pipelines/dit.md", "repo_id": "diffusers", "token_count": 532 }
183