English 中文(简体)
如有 ServiceContext cache rafter?
原标题:Where is llama_index ServiceContext cache folder?

I use llama_index in Jupyter Notebooksding in Docker protocol. 在数据持久性方面,我需要从东道方到<条码>(Docker)集装箱架上<条码>。 基本上,我的问题是:从<代码>llama_index的用途和如何定位的“cache”夹的名称。

审议<代码>中的以下编码实例 甲型六氯环己烷

from llama_index import VectorStoreIndex
from llama_index import ServiceContext
from llama_index.llms import OpenAI

llm = OpenAI(model="gpt-3.5-turbo", temperature=0.1)
service_context = ServiceContext.from_defaults(
    llm=llm, embed_model="local:BAAI/bge-small-en-v1.5"
)

该法典规定了以下产出:

    config.json: 100%
    743/743 [00:00<00:00, 32.2kB/s]
    model.safetensors: 100%
    133M/133M [00:32<00:00, 3.95MB/s]
    tokenizer_config.json: 100%
    366/366 [00:00<00:00, 31.0kB/s]
    vocab.txt: 100%
    232k/232k [00:00<00:00, 1.44MB/s]
    tokenizer.json: 100%
    711k/711k [00:00<00:00, 2.31MB/s]
    special_tokens_map.json: 100%
    125/125 [00:00<00:00, 12.9kB/s]

因此,serviceContext成功地下载了上述档案。 但是,这些档案在我方拯救了在哪里? 我无法找到。 在Jupyter Notebook重新启用了所有损失,我不得不再次下载。

他们是否在爱护下使用HuggingFace? 页: 1 面对使用,没有“当地:BAAI/bge-small-en-v1.5”模式工艺品。

问题回答

在我的麦克风,它储存在~/Library/caches/llama_index/models下。 使用HF_HUB是很明智的。





相关问题
Unable to connect to docker container inside windows server

As title. I am developing a system with many docker images with ASP.Net MVC core projects. I am publishing these docker images into a docker engine installed on Windows Server OS, and I found that I ...

Only can see postgreSQL as an admin

After installed Wsl and Docker, can t access PSQL and other things. I was studying Docker, and installed the latest version. So far so good, I received an error about the WSL version, saw some ...

make docker-compose block until healthy without `depends_on`

I am working with a team that uses docker-compose to start a set of helper services, but does not use docker when the code is being developed. Here, docker-compose is just a convenient way to run the ...

change grafana port using docker host network

I am trying to spin up a grafana container in docker, however my setup in docker does not allow ipv4 forwarding and thus I cannot use the default bridge network in docker. All I can use is the host ...

Pip instalation for Python 3.11 in docker

I have Dockerfile to build image for Django project that uses Python 3.11 and runs in poetry environment (see content below). Problem is when I try to donwload get-pip.py file and run it using Python, ...

在 Dockerfile 中运行 composer install

我正在尝试将我的Laravel应用程序进行Docker化。 该应用程序已经构建并在Git中,但我将vendor文件夹添加到了.gitignore中。 我添加了一个Dockerfile,看起来像这样: FROM php:7.1-fpm-alpine RUN apk update ...

热门标签