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/rootcoord/create_partition_task.go/0
{ "file_path": "milvus/internal/rootcoord/create_partition_task.go", "repo_id": "milvus", "token_count": 1553 }
1,777
# Text to Image Tool This tool allows Agents to use the OpenAI Image endpoint to generate and create variations of images. ## Usage This tool has more extensive example usage documented in a Jupyter notebook [here](https://github.com/emptycrown/llama-hub/tree/main/llama_hub/tools/notebooks/text_to_image.ipynb) Anot...
llama_index/llama-index-integrations/tools/llama-index-tools-text-to-image/README.md/0
{ "file_path": "llama_index/llama-index-integrations/tools/llama-index-tools-text-to-image/README.md", "repo_id": "llama_index", "token_count": 416 }
1,503
package grpccoordinator import ( "context" "github.com/chroma/chroma-coordinator/internal/common" "github.com/chroma/chroma-coordinator/internal/model" "github.com/chroma/chroma-coordinator/internal/proto/coordinatorpb" "github.com/chroma/chroma-coordinator/internal/types" "github.com/pingcap/log" "go.uber.org...
chroma/go/coordinator/internal/grpccoordinator/segment_service.go/0
{ "file_path": "chroma/go/coordinator/internal/grpccoordinator/segment_service.go", "repo_id": "chroma", "token_count": 1726 }
47
# 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 required by applicabl...
transformers/src/transformers/deepspeed.py/0
{ "file_path": "transformers/src/transformers/deepspeed.py", "repo_id": "transformers", "token_count": 432 }
594
"""DashScope llm api.""" from http import HTTPStatus from typing import Any, Dict, List, Optional, Sequence, Tuple from llama_index.core.base.llms.types import ( ChatMessage, ChatResponse, ChatResponseAsyncGen, ChatResponseGen, CompletionResponse, CompletionResponseAsyncGen, CompletionResp...
llama_index/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-dashscope/llama_index/multi_modal_llms/dashscope/base.py/0
{ "file_path": "llama_index/llama-index-integrations/multi_modal_llms/llama-index-multi-modal-llms-dashscope/llama_index/multi_modal_llms/dashscope/base.py", "repo_id": "llama_index", "token_count": 4444 }
1,380
python_tests()
llama_index/llama-index-integrations/readers/llama-index-readers-dad-jokes/tests/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-dad-jokes/tests/BUILD", "repo_id": "llama_index", "token_count": 5 }
1,353
<jupyter_start><jupyter_text>Fine-tunining DeBERTa model on a question answering task with ORTTrainer In this notebook, we will see how to fine-tune the [DeBERTa base](https://huggingface.co/microsoft/deberta-base/tree/main) model to a question answering task, which is the task of extracting the answer to a question fr...
notebooks/examples/question_answering_ort.ipynb/0
{ "file_path": "notebooks/examples/question_answering_ort.ipynb", "repo_id": "notebooks", "token_count": 10005 }
312
// 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/storage/binlog_reader.go/0
{ "file_path": "milvus/internal/storage/binlog_reader.go", "repo_id": "milvus", "token_count": 1139 }
1,790
"""Test huggingface embeddings.""" from langchain_community.embeddings.huggingface import ( HuggingFaceEmbeddings, HuggingFaceInstructEmbeddings, ) def test_huggingface_embedding_documents() -> None: """Test huggingface embeddings.""" documents = ["foo bar"] embedding = HuggingFaceEmbeddings() ...
langchain/libs/community/tests/integration_tests/embeddings/test_huggingface.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/embeddings/test_huggingface.py", "repo_id": "langchain", "token_count": 683 }
350
# Script for verifying that run_bart_sum can be invoked from its directory # Get tiny dataset with cnn_dm format (4 examples for train, val, test) wget https://cdn-datasets.huggingface.co/summarization/cnn_tiny.tgz tar -xzvf cnn_tiny.tgz rm cnn_tiny.tgz export OUTPUT_DIR_NAME=bart_utest_output export CURRENT_DIR=${PW...
transformers/examples/research_projects/seq2seq-distillation/finetune_bart_tiny.sh/0
{ "file_path": "transformers/examples/research_projects/seq2seq-distillation/finetune_bart_tiny.sh", "repo_id": "transformers", "token_count": 333 }
589
# 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 applicabl...
transformers/tests/models/mvp/test_tokenization_mvp.py/0
{ "file_path": "transformers/tests/models/mvp/test_tokenization_mvp.py", "repo_id": "transformers", "token_count": 3682 }
801
python_tests()
llama_index/llama-index-integrations/readers/llama-index-readers-joplin/tests/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-joplin/tests/BUILD", "repo_id": "llama_index", "token_count": 5 }
1,512
import json from typing import Any, Callable, Dict, Optional, Sequence import httpx import requests from llama_index.core.base.llms.types import ( ChatMessage, ChatResponse, ChatResponseAsyncGen, ChatResponseGen, CompletionResponse, CompletionResponseAsyncGen, CompletionResponseGen, LLM...
llama_index/llama-index-integrations/llms/llama-index-llms-perplexity/llama_index/llms/perplexity/base.py/0
{ "file_path": "llama_index/llama-index-integrations/llms/llama-index-llms-perplexity/llama_index/llms/perplexity/base.py", "repo_id": "llama_index", "token_count": 7227 }
1,326
from llama_index.readers.chroma.base import ChromaReader __all__ = ["ChromaReader"]
llama_index/llama-index-integrations/readers/llama-index-readers-chroma/llama_index/readers/chroma/__init__.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-chroma/llama_index/readers/chroma/__init__.py", "repo_id": "llama_index", "token_count": 29 }
1,347
import json from argparse import ArgumentParser from pathlib import Path """ This script converts Falcon custom code checkpoints to modern Falcon checkpoints that use code in the Transformers library. After conversion, performance (especially for generation) should improve and the checkpoint can be loaded without nee...
transformers/src/transformers/models/falcon/convert_custom_code_checkpoint.py/0
{ "file_path": "transformers/src/transformers/models/falcon/convert_custom_code_checkpoint.py", "repo_id": "transformers", "token_count": 1171 }
670
package httpserver import ( "context" "encoding/json" "net/http" "strconv" "github.com/cockroachdb/errors" "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/binding" "github.com/golang/protobuf/proto" "github.com/tidwall/gjson" "go.uber.org/zap" "google.golang.org/grpc" "github.com/milvus-io/milvus-pr...
milvus/internal/distributed/proxy/httpserver/handler_v1.go/0
{ "file_path": "milvus/internal/distributed/proxy/httpserver/handler_v1.go", "repo_id": "milvus", "token_count": 14923 }
1,815
// 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/pkg/util/paramtable/service_param.go/0
{ "file_path": "milvus/pkg/util/paramtable/service_param.go", "repo_id": "milvus", "token_count": 15255 }
1,978
"""Test pinecone indexes.""" from typing import List import pytest from llama_index.legacy.indices.vector_store.base import VectorStoreIndex from llama_index.legacy.schema import Document, TextNode from llama_index.legacy.service_context import ServiceContext from tests.indices.vector_store.utils import get_pinecone...
llama_index/llama-index-legacy/tests/indices/vector_store/test_pinecone.py/0
{ "file_path": "llama_index/llama-index-legacy/tests/indices/vector_store/test_pinecone.py", "repo_id": "llama_index", "token_count": 705 }
1,623
package memberlist_manager import ( "context" "reflect" "testing" "time" "github.com/chroma/chroma-coordinator/internal/utils" "github.com/stretchr/testify/assert" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/dynamic/fake" "k8s.io...
chroma/go/coordinator/internal/memberlist_manager/memberlist_manager_test.go/0
{ "file_path": "chroma/go/coordinator/internal/memberlist_manager/memberlist_manager_test.go", "repo_id": "chroma", "token_count": 2304 }
46
<jupyter_start><jupyter_text>Ontotext GraphDB QA ChainThis notebook shows how to use LLMs to provide natural language querying (NLQ to SPARQL, also called text2sparql) for [Ontotext GraphDB](https://graphdb.ontotext.com/). Ontotext GraphDB is a graph database and knowledge discovery tool compliant with [RDF](https://ww...
langchain/docs/docs/use_cases/graph/graph_ontotext_graphdb_qa.ipynb/0
{ "file_path": "langchain/docs/docs/use_cases/graph/graph_ontotext_graphdb_qa.ipynb", "repo_id": "langchain", "token_count": 3095 }
210
from pathlib import Path from langchain_community.document_loaders.rss import RSSFeedLoader def test_rss_loader() -> None: loader = RSSFeedLoader(urls=["https://www.engadget.com/rss.xml"]) docs = loader.load() assert docs[0] is not None assert hasattr(docs[0], "page_content") assert hasattr(docs...
langchain/libs/community/tests/integration_tests/document_loaders/test_rss.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/document_loaders/test_rss.py", "repo_id": "langchain", "token_count": 431 }
327
[tool.poetry] name = "cassandra-synonym-caching" version = "0.0.1" description = "LLM caching backed by Apache Cassandra® or Astra DB" authors = [ "Stefano Lottini <stefano.lottini@datastax.com>", ] readme = "README.md" [tool.poetry.dependencies] python = ">=3.8.1,<4.0" langchain = "^0.1" openai = "<2" tiktoken = ...
langchain/templates/cassandra-synonym-caching/pyproject.toml/0
{ "file_path": "langchain/templates/cassandra-synonym-caching/pyproject.toml", "repo_id": "langchain", "token_count": 312 }
643
# coding=utf-8 # Copyright 2022 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/tests/models/convnext/test_modeling_tf_convnext.py/0
{ "file_path": "transformers/tests/models/convnext/test_modeling_tf_convnext.py", "repo_id": "transformers", "token_count": 4942 }
777
from langchain_community.agent_toolkits.base import BaseToolkit __all__ = ["BaseToolkit"]
langchain/libs/langchain/langchain/agents/agent_toolkits/base.py/0
{ "file_path": "langchain/libs/langchain/langchain/agents/agent_toolkits/base.py", "repo_id": "langchain", "token_count": 29 }
432
"""Redis Vector store index. An index that is built on top of an existing vector store. """ import logging from typing import TYPE_CHECKING, Any, Dict, List, Optional import fsspec from llama_index.legacy.bridge.pydantic import PrivateAttr from llama_index.legacy.readers.redis.utils import ( TokenEscaper, a...
llama_index/llama-index-legacy/llama_index/legacy/vector_stores/redis.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/vector_stores/redis.py", "repo_id": "llama_index", "token_count": 8055 }
1,725
{ "openapi": "3.0.1", "info": { "title": "Milo", "description": "Use the Milo plugin to lookup how parents can help create magic moments / meaningful memories with their families everyday. Milo can answer - what's magic today?", "version": "v2" }, "servers": [ { "url": "http...
langchain/libs/community/tests/unit_tests/examples/test_specs/joinmilo/apispec.json/0
{ "file_path": "langchain/libs/community/tests/unit_tests/examples/test_specs/joinmilo/apispec.json", "repo_id": "langchain", "token_count": 969 }
397
echo "hello world" echo "this is a second command"
accelerate/tests/test_samples/test_command_file.sh/0
{ "file_path": "accelerate/tests/test_samples/test_command_file.sh", "repo_id": "accelerate", "token_count": 14 }
17
import { TYPES } from "../constants"; import { Config, ConfigListProps } from "../hooks/useConfigList"; import { cn } from "../utils/cn"; function ConfigItem(props: { config: Config; currentConfig: ConfigListProps["currentConfig"]; enterConfig: ConfigListProps["enterConfig"]; }) { return ( <li key={props.c...
opengpts/frontend/src/components/ConfigList.tsx/0
{ "file_path": "opengpts/frontend/src/components/ConfigList.tsx", "repo_id": "opengpts", "token_count": 1548 }
2,140
"""Infer-Retrieve-Rerank Pack. Taken from this paper: https://arxiv.org/pdf/2401.12178.pdf. """ from typing import Any, Dict, Optional from llama_index.embeddings.openai import OpenAIEmbedding from llama_index.core.llama_pack.base import BaseLlamaPack from llama_index.core.schema import TextNode from llama_index.co...
llama_index/llama-index-packs/llama-index-packs-infer-retrieve-rerank/llama_index/packs/infer_retrieve_rerank/base.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-infer-retrieve-rerank/llama_index/packs/infer_retrieve_rerank/base.py", "repo_id": "llama_index", "token_count": 2119 }
1,674
[loggers] keys=root,uicheckapp [handlers] keys=consoleHandler [formatters] keys=normalFormatter [logger_root] level=INFO handlers=consoleHandler [logger_uicheckapp] level=DEBUG handlers=consoleHandler qualname=uicheckapp propagate=0 [formatter_normalFormatter] format=%(asctime)s loglevel=%(levelname)-6s logger=%(n...
auto-evaluator/api/logging.conf/0
{ "file_path": "auto-evaluator/api/logging.conf", "repo_id": "auto-evaluator", "token_count": 178 }
1
#[cfg(feature = "mkl")] extern crate intel_mkl_src; #[cfg(feature = "accelerate")] extern crate accelerate_src; use anyhow::{Error as E, Result}; use clap::Parser; use candle_transformers::models::chatglm::{Config, Model}; use candle::{DType, Device, Tensor}; use candle_nn::VarBuilder; use candle_transformers::gene...
candle/candle-examples/examples/chatglm/main.rs/0
{ "file_path": "candle/candle-examples/examples/chatglm/main.rs", "repo_id": "candle", "token_count": 3423 }
47
exclude: 'chromadb/proto/(chroma_pb2|coordinator_pb2)\.(py|pyi|py_grpc\.py)' # Generated files repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 hooks: - id: trailing-whitespace - id: mixed-line-ending - id: end-of-file-fixer - id: requirements-txt-fixer -...
chroma/.pre-commit-config.yaml/0
{ "file_path": "chroma/.pre-commit-config.yaml", "repo_id": "chroma", "token_count": 586 }
10
# Metric Card for Matthews Correlation Coefficient ## Metric Description The Matthews correlation coefficient is used in machine learning as a measure of the quality of binary and multiclass classifications. It takes into account true and false positives and negatives and is generally regarded as a balanced measure wh...
datasets/metrics/matthews_correlation/README.md/0
{ "file_path": "datasets/metrics/matthews_correlation/README.md", "repo_id": "datasets", "token_count": 1251 }
119
import { NotionLoader } from "langchain/document_loaders/fs/notion"; export const run = async () => { /** Provide the directory path of your notion folder */ const directoryPath = "Notion_DB"; const loader = new NotionLoader(directoryPath); const docs = await loader.load(); console.log({ docs }); };
langchainjs/examples/src/document_loaders/notion_markdown.ts/0
{ "file_path": "langchainjs/examples/src/document_loaders/notion_markdown.ts", "repo_id": "langchainjs", "token_count": 89 }
829
.. _Prompt-Templates: Prompt Templates ================= These are the reference prompt templates. We first show links to default prompts. We then show the base prompt template class and its subclasses. Default Prompts ^^^^^^^^^^^^^^^^^ * `Completion prompt templates <https://github.com/jerryjliu/llama_index/blo...
llama_index/docs/api_reference/prompts.rst/0
{ "file_path": "llama_index/docs/api_reference/prompts.rst", "repo_id": "llama_index", "token_count": 448 }
1,081
// 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/util/sessionutil/session.go/0
{ "file_path": "milvus/internal/util/sessionutil/session.go", "repo_id": "milvus", "token_count": 517 }
1,907
# This file is autogenerated by the command `make fix-copies`, do not edit. from ..utils import DummyObject, requires_backends class TensorFlowBenchmarkArguments(metaclass=DummyObject): _backends = ["tf"] def __init__(self, *args, **kwargs): requires_backends(self, ["tf"]) class TensorFlowBenchmark...
transformers/src/transformers/utils/dummy_tf_objects.py/0
{ "file_path": "transformers/src/transformers/utils/dummy_tf_objects.py", "repo_id": "transformers", "token_count": 28517 }
757
"""Slides parser. Contains parsers for .pptx files. """ import os from pathlib import Path from typing import Dict, List, Optional from llama_index.core.readers.base import BaseReader from llama_index.core.schema import Document from llama_index.core.utils import infer_torch_device class PptxReader(BaseReader): ...
llama_index/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/base.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-file/llama_index/readers/file/slides/base.py", "repo_id": "llama_index", "token_count": 1711 }
1,404
import os import zipfile import pytest from datasets.utils.extract import ( Bzip2Extractor, Extractor, GzipExtractor, Lz4Extractor, SevenZipExtractor, TarExtractor, XzExtractor, ZipExtractor, ZstdExtractor, ) from .utils import require_lz4, require_py7zr, require_zstandard @pyte...
datasets/tests/test_extract.py/0
{ "file_path": "datasets/tests/test_extract.py", "repo_id": "datasets", "token_count": 2984 }
167
import logging from typing import Callable, List from llama_index.core.node_parser.interface import TextSplitter logger = logging.getLogger(__name__) def truncate_text(text: str, text_splitter: TextSplitter) -> str: """Truncate text to fit within the chunk size.""" chunks = text_splitter.split_text(text) ...
llama_index/llama-index-core/llama_index/core/node_parser/text/utils.py/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/node_parser/text/utils.py", "repo_id": "llama_index", "token_count": 895 }
1,233
from llama_index.packs.vanna.base import VannaQueryEngine, VannaPack __all__ = ["VannaPack", "VannaQueryEngine"]
llama_index/llama-index-packs/llama-index-packs-vanna/llama_index/packs/vanna/__init__.py/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-vanna/llama_index/packs/vanna/__init__.py", "repo_id": "llama_index", "token_count": 39 }
1,616
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/readers/llama-index-readers-awadb/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-awadb/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,335
from langchain_community.embeddings import __all__ EXPECTED_ALL = [ "OpenAIEmbeddings", "AzureOpenAIEmbeddings", "BaichuanTextEmbeddings", "ClarifaiEmbeddings", "CohereEmbeddings", "DatabricksEmbeddings", "ElasticsearchEmbeddings", "FastEmbedEmbeddings", "HuggingFaceEmbeddings", ...
langchain/libs/community/tests/unit_tests/embeddings/test_imports.py/0
{ "file_path": "langchain/libs/community/tests/unit_tests/embeddings/test_imports.py", "repo_id": "langchain", "token_count": 809 }
394
# Big model inference benchmarks Running inference with Accelerate on big models. ## Setup These benchmarks use the `transformers` library: ```bash pip install transformers ``` To reproduce or test a new setup, run ```py python inference_acc.py model_name ``` This script supports `gpt-j-6b`, `gpt-neox`, `opt` (3...
accelerate/benchmarks/README.md/0
{ "file_path": "accelerate/benchmarks/README.md", "repo_id": "accelerate", "token_count": 702 }
1
# candle-mobileone [MobileOne: An Improved One millisecond Mobile Backbone](https://arxiv.org/abs/2206.04040). This candle implementation uses a pre-trained MobileOne network for inference. The classification head has been trained on the ImageNet dataset and returns the probabilities for the top-5 classes. ## Runnin...
candle/candle-examples/examples/mobileone/README.md/0
{ "file_path": "candle/candle-examples/examples/mobileone/README.md", "repo_id": "candle", "token_count": 254 }
46
## Diffusers examples with ONNXRuntime optimizations **This research project is not actively maintained by the diffusers team. For any questions or comments, please contact Isamu Isozaki(isamu-isozaki) on github with any questions.** The aim of this project is to provide retrieval augmented diffusion models to diffus...
diffusers/examples/research_projects/rdm/README.md/0
{ "file_path": "diffusers/examples/research_projects/rdm/README.md", "repo_id": "diffusers", "token_count": 75 }
217
"""Test Self-hosted LLMs.""" import pickle from typing import Any, List, Optional from langchain_community.llms import SelfHostedHuggingFaceLLM, SelfHostedPipeline model_reqs = ["pip:./", "transformers", "torch"] def get_remote_instance() -> Any: """Get remote instance for testing.""" import runhouse as rh ...
langchain/libs/community/tests/integration_tests/llms/test_self_hosted_llm.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/llms/test_self_hosted_llm.py", "repo_id": "langchain", "token_count": 1476 }
374
# coding=utf-8 # Copyright 2023 EleutherAI and the HuggingFace Inc. team. All rights reserved. # # This code is based on EleutherAI's GPT-NeoX library and the GPT-NeoX # and OPT implementations in this library. It has been modified from its # original forms to accommodate minor architectural differences compared # to G...
transformers/src/transformers/models/deprecated/open_llama/configuration_open_llama.py/0
{ "file_path": "transformers/src/transformers/models/deprecated/open_llama/configuration_open_llama.py", "repo_id": "transformers", "token_count": 3053 }
591
from langchain_community.embeddings.self_hosted import ( SelfHostedEmbeddings, ) __all__ = ["SelfHostedEmbeddings"]
langchain/libs/langchain/langchain/embeddings/self_hosted.py/0
{ "file_path": "langchain/libs/langchain/langchain/embeddings/self_hosted.py", "repo_id": "langchain", "token_count": 44 }
535
<jupyter_start><jupyter_text>Huawei OBS DirectoryThe following code demonstrates how to load objects from the Huawei OBS (Object Storage Service) as documents.<jupyter_code># Install the required package # pip install esdk-obs-python from langchain_community.document_loaders import OBSDirectoryLoader endpoint = "your-e...
langchain/docs/docs/integrations/document_loaders/huawei_obs_directory.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/document_loaders/huawei_obs_directory.ipynb", "repo_id": "langchain", "token_count": 505 }
100
from unittest.mock import MagicMock, patch from llama_index.core.graph_stores.types import GraphStore from llama_index.graph_stores.neo4j import Neo4jGraphStore @patch("llama_index.graph_stores.neo4j.Neo4jGraphStore") def test_kuzu_graph_store(MockNeo4jGraphStore: MagicMock): instance: Neo4jGraphStore = MockNeo4...
llama_index/llama-index-integrations/graph_stores/llama-index-graph-stores-neo4j/tests/test_graph_stores_neo4j.py/0
{ "file_path": "llama_index/llama-index-integrations/graph_stores/llama-index-graph-stores-neo4j/tests/test_graph_stores_neo4j.py", "repo_id": "llama_index", "token_count": 141 }
1,284
<jupyter_start><jupyter_text>If you're opening this Notebook on colab, you will probably need to install 🤗 Transformers as well as some other libraries. Uncomment the following cell and run it.<jupyter_code>#! pip install transformers evaluate datasets requests pandas sklearn<jupyter_output><empty_output><jupyter_text...
notebooks/examples/protein_language_modeling-tf.ipynb/0
{ "file_path": "notebooks/examples/protein_language_modeling-tf.ipynb", "repo_id": "notebooks", "token_count": 8412 }
295
kind: Schedule apiVersion: chaos-mesh.org/v1alpha1 metadata: name: test-mixcoord-pod-kill namespace: chaos-testing spec: schedule: '*/5 * * * * *' startingDeadlineSeconds: 60 concurrencyPolicy: Forbid historyLimit: 1 type: PodChaos podChaos: selector: namespaces: - chaos-testing ...
milvus/tests/python_client/chaos/chaos_objects/pod_kill/chaos_mixcoord_pod_kill.yaml/0
{ "file_path": "milvus/tests/python_client/chaos/chaos_objects/pod_kill/chaos_mixcoord_pod_kill.yaml", "repo_id": "milvus", "token_count": 231 }
1,898
# coding=utf-8 # Copyright 2024 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 or ag...
diffusers/tests/models/unets/test_models_unet_2d.py/0
{ "file_path": "diffusers/tests/models/unets/test_models_unet_2d.py", "repo_id": "diffusers", "token_count": 5100 }
273
from typing import Any, List, Optional import aiohttp import requests from langchain_core.callbacks import ( AsyncCallbackManagerForRetrieverRun, CallbackManagerForRetrieverRun, ) from langchain_core.documents import Document from langchain_core.retrievers import BaseRetriever class ChaindeskRetriever(BaseRe...
langchain/libs/community/langchain_community/retrievers/chaindesk.py/0
{ "file_path": "langchain/libs/community/langchain_community/retrievers/chaindesk.py", "repo_id": "langchain", "token_count": 1460 }
275
from llama_index.core.readers.base import BaseReader from llama_index.readers.couchbase import CouchbaseReader def test_class(): names_of_base_classes = [b.__name__ for b in CouchbaseReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
llama_index/llama-index-integrations/readers/llama-index-readers-couchbase/tests/test_readers_couchbase.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-couchbase/tests/test_readers_couchbase.py", "repo_id": "llama_index", "token_count": 89 }
1,278
"""Mock prompt utils.""" from llama_index.core.prompts.base import PromptTemplate from llama_index.core.prompts.prompt_type import PromptType MOCK_SUMMARY_PROMPT_TMPL = "{context_str}\n" MOCK_SUMMARY_PROMPT = PromptTemplate( MOCK_SUMMARY_PROMPT_TMPL, prompt_type=PromptType.SUMMARY ) MOCK_INSERT_PROMPT_TMPL = "{n...
llama_index/llama-index-core/tests/mock_utils/mock_prompts.py/0
{ "file_path": "llama_index/llama-index-core/tests/mock_utils/mock_prompts.py", "repo_id": "llama_index", "token_count": 1160 }
1,237
""" Padding Helpers Hacked together by / Copyright 2020 Ross Wightman """ import math from typing import List, Tuple import torch import torch.nn.functional as F # Calculate symmetric padding for a convolution def get_padding(kernel_size: int, stride: int = 1, dilation: int = 1, **_) -> int: padding = ((stride ...
pytorch-image-models/timm/layers/padding.py/0
{ "file_path": "pytorch-image-models/timm/layers/padding.py", "repo_id": "pytorch-image-models", "token_count": 1200 }
369
import { COOKIE_NAME, EXPOSE_API, MESSAGES_BEFORE_LOGIN } from "$env/static/private"; import type { Handle } from "@sveltejs/kit"; import { PUBLIC_GOOGLE_ANALYTICS_ID, PUBLIC_ORIGIN, PUBLIC_APP_DISCLAIMER, } from "$env/static/public"; import { collections } from "$lib/server/database"; import { base } from "$app/pat...
chat-ui/src/hooks.server.ts/0
{ "file_path": "chat-ui/src/hooks.server.ts", "repo_id": "chat-ui", "token_count": 1640 }
84
from typing import Any, Dict # pants: no-infer-dep from llama_index.core.embeddings.mock_embed_model import MockEmbedding from llama_index.core.embeddings.utils import resolve_embed_model from llama_index.embeddings.huggingface import ( HuggingFaceEmbedding, ) # pants: no-infer-dep from llama_index.embeddings.ope...
llama_index/llama-index-core/tests/embeddings/todo_hf_test_utils.py/0
{ "file_path": "llama_index/llama-index-core/tests/embeddings/todo_hf_test_utils.py", "repo_id": "llama_index", "token_count": 712 }
1,149
# Copyright 2021 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/src/transformers/models/roformer/__init__.py/0
{ "file_path": "transformers/src/transformers/models/roformer/__init__.py", "repo_id": "transformers", "token_count": 2239 }
737
// 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/querycoordv2/utils/meta.go/0
{ "file_path": "milvus/internal/querycoordv2/utils/meta.go", "repo_id": "milvus", "token_count": 2734 }
1,761
import random import re import signal from collections import defaultdict from contextlib import contextmanager from typing import Any, Dict, List, Optional, Set, Tuple from llama_index.legacy.program.predefined.evaporate.prompts import ( DEFAULT_EXPECTED_OUTPUT_PREFIX_TMPL, DEFAULT_FIELD_EXTRACT_QUERY_TMPL, ...
llama_index/llama-index-legacy/llama_index/legacy/program/predefined/evaporate/extractor.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/program/predefined/evaporate/extractor.py", "repo_id": "llama_index", "token_count": 4132 }
1,751
// 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/proxy/segment.go/0
{ "file_path": "milvus/internal/proxy/segment.go", "repo_id": "milvus", "token_count": 4658 }
1,749
.PHONY: doc-notebooks doc-notebooks: python utils/convert_doc_to_notebooks.py
notebooks/Makefile/0
{ "file_path": "notebooks/Makefile", "repo_id": "notebooks", "token_count": 33 }
267
// 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/util/flowgraph/message.go/0
{ "file_path": "milvus/internal/util/flowgraph/message.go", "repo_id": "milvus", "token_count": 883 }
2,015
from langchain_community.tools.golden_query.tool import GoldenQueryRun __all__ = ["GoldenQueryRun"]
langchain/libs/langchain/langchain/tools/golden_query/tool.py/0
{ "file_path": "langchain/libs/langchain/langchain/tools/golden_query/tool.py", "repo_id": "langchain", "token_count": 30 }
560
use super::k_quants::{ BlockQ2K, BlockQ3K, BlockQ4K, BlockQ4_0, BlockQ5K, BlockQ6K, BlockQ8K, BlockQ8_0, QK8_0, QK_K, }; use crate::Result; use byteorder::{ByteOrder, LittleEndian}; use half::f16; #[cfg(target_arch = "x86")] use core::arch::x86::*; #[cfg(target_arch = "x86_64")] use core::arch::x86_64::*; #[inlin...
candle/candle-core/src/quantized/avx.rs/0
{ "file_path": "candle/candle-core/src/quantized/avx.rs", "repo_id": "candle", "token_count": 17495 }
40
# Chatbots Chatbots are another extremely popular use case for LLMs. Instead of a single question and answer, a chatbot can handle multiple back-and-forth queries and answers, getting clarification or answering follow-up questions. LlamaIndex gives you the tools to build knowledge-augmented chatbots and agents. Here...
llama_index/docs/use_cases/chatbots.md/0
{ "file_path": "llama_index/docs/use_cases/chatbots.md", "repo_id": "llama_index", "token_count": 384 }
1,132
from llama_index.core.readers.base import BaseReader from llama_index.readers.weather import WeatherReader def test_class(): names_of_base_classes = [b.__name__ for b in WeatherReader.__mro__] assert BaseReader.__name__ in names_of_base_classes
llama_index/llama-index-integrations/readers/llama-index-readers-weather/tests/test_readers_weather.py/0
{ "file_path": "llama_index/llama-index-integrations/readers/llama-index-readers-weather/tests/test_readers_weather.py", "repo_id": "llama_index", "token_count": 85 }
1,431
#ifndef _qdq_5_cuh #define _qdq_5_cuh #include "qdq_util.cuh" #include "../../config.h" #if QMODE_5BIT == 1 // Permutation: // // v5555533 33311111 u4444422 22200000 (u, v lsb) // vbbbbb99 99977777 uaaaaa88 88866666 // vhhhhhff fffddddd ugggggee eeeccccc // vnnnnnll llljjjjj ummmmmkk kkkiiiii // vtttttrr rrrppp...
text-generation-inference/server/exllamav2_kernels/exllamav2_kernels/cuda/quant/qdq_5.cuh/0
{ "file_path": "text-generation-inference/server/exllamav2_kernels/exllamav2_kernels/cuda/quant/qdq_5.cuh", "repo_id": "text-generation-inference", "token_count": 4271 }
379
python_sources()
llama_index/llama-index-packs/llama-index-packs-corrective-rag/examples/BUILD/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-corrective-rag/examples/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,646
from langchain_community.tools.eleven_labs.models import ElevenLabsModel __all__ = ["ElevenLabsModel"]
langchain/libs/langchain/langchain/tools/eleven_labs/models.py/0
{ "file_path": "langchain/libs/langchain/langchain/tools/eleven_labs/models.py", "repo_id": "langchain", "token_count": 34 }
549
// 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/querycoordv2/checkers/controller.go/0
{ "file_path": "milvus/internal/querycoordv2/checkers/controller.go", "repo_id": "milvus", "token_count": 2149 }
1,973
<jupyter_start><jupyter_text>BM25[BM25](https://en.wikipedia.org/wiki/Okapi_BM25) also known as the Okapi BM25, is a ranking function used in information retrieval systems to estimate the relevance of documents to a given search query.This notebook goes over how to use a retriever that under the hood uses BM25 using [`...
langchain/docs/docs/integrations/retrievers/bm25.ipynb/0
{ "file_path": "langchain/docs/docs/integrations/retrievers/bm25.ipynb", "repo_id": "langchain", "token_count": 529 }
152
<jupyter_start><jupyter_text>Make ReaderWe show how LlamaIndex can fit with your Make.com workflow by sending the GPT Index response to a scenario webhook. If you're opening this Notebook on colab, you will probably need to install LlamaIndex 🦙.<jupyter_code>%pip install llama-index-readers-make-com !pip install llama...
llama_index/docs/examples/data_connectors/MakeDemo.ipynb/0
{ "file_path": "llama_index/docs/examples/data_connectors/MakeDemo.ipynb", "repo_id": "llama_index", "token_count": 450 }
1,110
# 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/tests/models/instructblip/test_modeling_instructblip.py/0
{ "file_path": "transformers/tests/models/instructblip/test_modeling_instructblip.py", "repo_id": "transformers", "token_count": 10951 }
732
from llama_index.legacy.chat_engine.condense_plus_context import ( CondensePlusContextChatEngine, ) from llama_index.legacy.chat_engine.condense_question import CondenseQuestionChatEngine from llama_index.legacy.chat_engine.context import ContextChatEngine from llama_index.legacy.chat_engine.simple import SimpleCha...
llama_index/llama-index-legacy/llama_index/legacy/chat_engine/__init__.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/chat_engine/__init__.py", "repo_id": "llama_index", "token_count": 147 }
1,555
import asyncio from typing import Any, Dict, List, Optional, Sequence from llama_index.legacy.bridge.pydantic import Field from llama_index.legacy.evaluation.base import BaseEvaluator, EvaluationResult from llama_index.legacy.prompts.mixin import PromptDictType, PromptMixinType class TonicValidateEvaluationResult(Ev...
llama_index/llama-index-legacy/llama_index/legacy/evaluation/tonic_validate/tonic_validate_evaluator.py/0
{ "file_path": "llama_index/llama-index-legacy/llama_index/legacy/evaluation/tonic_validate/tonic_validate_evaluator.py", "repo_id": "llama_index", "token_count": 2736 }
1,706
from typing import Optional DEFAULT_HUGGINGFACE_EMBEDDING_MODEL = "BAAI/bge-small-en" DEFAULT_INSTRUCT_MODEL = "hkunlp/instructor-base" # Originally pulled from: # https://github.com/langchain-ai/langchain/blob/v0.0.257/libs/langchain/langchain/embeddings/huggingface.py#L10 DEFAULT_EMBED_INSTRUCTION = "Represent the ...
llama_index/llama-index-integrations/embeddings/llama-index-embeddings-instructor/llama_index/embeddings/instructor/utils.py/0
{ "file_path": "llama_index/llama-index-integrations/embeddings/llama-index-embeddings-instructor/llama_index/embeddings/instructor/utils.py", "repo_id": "llama_index", "token_count": 1059 }
1,314
kind: Schedule apiVersion: chaos-mesh.org/v1alpha1 metadata: name: test-standalone-pod-kill namespace: chaos-testing spec: schedule: '*/5 * * * * *' startingDeadlineSeconds: 60 concurrencyPolicy: Forbid historyLimit: 1 type: PodChaos podChaos: selector: namespaces: - chaos-testing ...
milvus/tests/python_client/chaos/chaos_objects/pod_kill/chaos_standalone_pod_kill.yaml/0
{ "file_path": "milvus/tests/python_client/chaos/chaos_objects/pod_kill/chaos_standalone_pod_kill.yaml", "repo_id": "milvus", "token_count": 221 }
1,968
from typing import Any, Dict, List, cast from langchain_core.callbacks import CallbackManagerForRetrieverRun from langchain_core.documents import Document from langchain_core.pydantic_v1 import Field from langchain_core.retrievers import BaseRetriever class LlamaIndexRetriever(BaseRetriever): """`LlamaIndex` ret...
langchain/libs/community/langchain_community/retrievers/llama_index.py/0
{ "file_path": "langchain/libs/community/langchain_community/retrievers/llama_index.py", "repo_id": "langchain", "token_count": 1293 }
297
poetry_requirements( name="poetry", ) python_requirements( name="reqs", )
llama_index/llama-index-packs/llama-index-packs-recursive-retriever/BUILD/0
{ "file_path": "llama_index/llama-index-packs/llama-index-packs-recursive-retriever/BUILD", "repo_id": "llama_index", "token_count": 36 }
1,679
from abc import ABC, abstractmethod from argparse import ArgumentParser class BaseDatasetsCLICommand(ABC): @staticmethod @abstractmethod def register_subcommand(parser: ArgumentParser): raise NotImplementedError() @abstractmethod def run(self): raise NotImplementedError()
datasets/src/datasets/commands/__init__.py/0
{ "file_path": "datasets/src/datasets/commands/__init__.py", "repo_id": "datasets", "token_count": 107 }
139
import { logVersion010MigrationWarning } from "../../util/entrypoint_deprecation.js"; /* #__PURE__ */ logVersion010MigrationWarning({ oldEntrypointName: "stores/message/cloudflare_d1", newEntrypointName: "", newPackageName: "@langchain/cloudflare", }); export * from "@langchain/community/stores/message/cloudflar...
langchainjs/langchain/src/stores/message/cloudflare_d1.ts/0
{ "file_path": "langchainjs/langchain/src/stores/message/cloudflare_d1.ts", "repo_id": "langchainjs", "token_count": 106 }
952
python_tests()
llama_index/llama-index-integrations/embeddings/llama-index-embeddings-clip/tests/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/embeddings/llama-index-embeddings-clip/tests/BUILD", "repo_id": "llama_index", "token_count": 5 }
1,224
python_sources()
llama_index/llama-index-core/llama_index/core/program/BUILD/0
{ "file_path": "llama_index/llama-index-core/llama_index/core/program/BUILD", "repo_id": "llama_index", "token_count": 6 }
1,191
// 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/util/importutilv2/parquet/reader.go/0
{ "file_path": "milvus/internal/util/importutilv2/parquet/reader.go", "repo_id": "milvus", "token_count": 1244 }
1,806
from langchain_community.agent_toolkits.ainetwork.toolkit import AINetworkToolkit __all__ = ["AINetworkToolkit"]
langchain/libs/langchain/langchain/agents/agent_toolkits/ainetwork/toolkit.py/0
{ "file_path": "langchain/libs/langchain/langchain/agents/agent_toolkits/ainetwork/toolkit.py", "repo_id": "langchain", "token_count": 39 }
436
import { test, expect } from "@jest/globals"; import { OpenAI } from "@langchain/openai"; import { HumanMessage, AIMessage } from "@langchain/core/messages"; import { ChatMessageHistory } from "@langchain/community/stores/message/in_memory"; import { ConversationTokenBufferMemory } from "../buffer_token_memory.js"; te...
langchainjs/langchain/src/memory/tests/buffer_token_memory.int.test.ts/0
{ "file_path": "langchainjs/langchain/src/memory/tests/buffer_token_memory.int.test.ts", "repo_id": "langchainjs", "token_count": 642 }
919
import { LLMChain } from "langchain/chains"; import { ChatMinimax } from "@langchain/community/chat_models/minimax"; import { ChatPromptTemplate, HumanMessagePromptTemplate, SystemMessagePromptTemplate, } from "@langchain/core/prompts"; // We can also construct an LLMChain from a ChatPromptTemplate and a chat mo...
langchainjs/examples/src/models/chat/minimax_chain.ts/0
{ "file_path": "langchainjs/examples/src/models/chat/minimax_chain.ts", "repo_id": "langchainjs", "token_count": 261 }
869
poetry_requirements( name="poetry", )
llama_index/llama-index-integrations/embeddings/llama-index-embeddings-gradient/BUILD/0
{ "file_path": "llama_index/llama-index-integrations/embeddings/llama-index-embeddings-gradient/BUILD", "repo_id": "llama_index", "token_count": 18 }
1,182
def contains_expected_response(response: str, expected_response: str) -> bool: """Check if the response contains the expected response.""" return expected_response in response
llama_index/benchmarks/agent/eval.py/0
{ "file_path": "llama_index/benchmarks/agent/eval.py", "repo_id": "llama_index", "token_count": 46 }
1,031
# Usage Pattern ## Get Started Each data loader contains a "Usage" section showing how that loader can be used. At the core of using each loader is a `download_loader` function, which downloads the loader file into a module that you can use within your application. Example usage: ```python from llama_index.core imp...
llama_index/docs/module_guides/loading/connector/usage_pattern.md/0
{ "file_path": "llama_index/docs/module_guides/loading/connector/usage_pattern.md", "repo_id": "llama_index", "token_count": 223 }
1,121
// yarn test:single src/experimental/masking/tests/masking-extended.test.ts import { MaskingParser, RegexMaskingTransformer } from "../index.js"; // Mock database for simulating state storage and retrieval const mockDB = (() => { const db = new Map<string, string>(); return { async saveState(key: string, seria...
langchainjs/langchain/src/experimental/masking/tests/masking-extended.test.ts/0
{ "file_path": "langchainjs/langchain/src/experimental/masking/tests/masking-extended.test.ts", "repo_id": "langchainjs", "token_count": 834 }
897
import os from pathlib import Path from langchain_community.document_loaders import UnstructuredOrgModeLoader EXAMPLE_DIRECTORY = file_path = Path(__file__).parent.parent / "examples" def test_unstructured_org_mode_loader() -> None: """Test unstructured loader.""" file_path = os.path.join(EXAMPLE_DIRECTORY,...
langchain/libs/community/tests/integration_tests/document_loaders/test_org_mode.py/0
{ "file_path": "langchain/libs/community/tests/integration_tests/document_loaders/test_org_mode.py", "repo_id": "langchain", "token_count": 154 }
345
package proxy import ( "context" "fmt" "sync" "github.com/cockroachdb/errors" "go.uber.org/zap" "github.com/milvus-io/milvus/internal/registry" "github.com/milvus-io/milvus/internal/types" "github.com/milvus-io/milvus/pkg/log" ) type queryNodeCreatorFunc func(ctx context.Context, addr string, nodeID int64) ...
milvus/internal/proxy/shard_client.go/0
{ "file_path": "milvus/internal/proxy/shard_client.go", "repo_id": "milvus", "token_count": 2033 }
2,022
--- sidebar_label: TogetherAI --- import CodeBlock from "@theme/CodeBlock"; # ChatTogetherAI ## Setup 1. Create a TogetherAI account and get your API key [here](http://api.together.ai/). 2. Export or set your API key inline. The ChatTogetherAI class defaults to `process.env.TOGETHER_AI_API_KEY`. ```bash export TOG...
langchainjs/docs/core_docs/docs/integrations/chat/togetherai.mdx/0
{ "file_path": "langchainjs/docs/core_docs/docs/integrations/chat/togetherai.mdx", "repo_id": "langchainjs", "token_count": 578 }
723
<jupyter_start><jupyter_text>Web Page ReaderDemonstrates our web page reader.<jupyter_code>%pip install llama-index-readers-web import logging import sys logging.basicConfig(stream=sys.stdout, level=logging.INFO) logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))<jupyter_output><empty_output><jup...
llama_index/docs/examples/data_connectors/WebPageDemo.ipynb/0
{ "file_path": "llama_index/docs/examples/data_connectors/WebPageDemo.ipynb", "repo_id": "llama_index", "token_count": 671 }
1,130
# 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/seamless_m4t_v2/modeling_seamless_m4t_v2.py/0
{ "file_path": "transformers/src/transformers/models/seamless_m4t_v2/modeling_seamless_m4t_v2.py", "repo_id": "transformers", "token_count": 101055 }
657