😘Ollama + FastGPT + OneApi 本地部署大模型知识库
打造私有化大模型和知识库在未来个人或者企业都具有相当的吸引力,没有人或者企业想把自己的私有数据公开,但是如何去利用有效地管理和检索,或者说利用大模型有效地发掘数据价值呢? 以下是一个例子,我的本地知识库有一个三国演义.txt文件(当然了,文件类别不限,可以是学习笔记,专业知识,行业内幕),假设我对三
🙌魔塔社区Llama3部署
注册魔塔社区账号然后和阿里云账号关联后会送一个还算可以的GPU环境。 1.模型下载 from modelscope import snapshot_download
from transformers import AutoModelForCausalLM, AutoTokenizer
# 下
❤️TensorFlow-Basic image classification
首先完整代码如下,接下来进行代码解析,并记录一些我学习到的地方。 import tensorflow as tf
import numpy as np
import matplotlib.pyplot as plt
print(tf.__version__, tf.config.list_phys
🤣TensorFlow 检测不到GPU失败分析🤣
顶着一下午接连失败的沮丧心情来分析失败的原因,实在不是一件愉快的事情。😂😂😂 暂作记录,解决后再写一篇详细的笔记。 1.TensorFlow的版本 TensorFlow可能有两个版本,一个是tensorflow,另一个是tensorflow-gpu,前者也许根本检测不到GPU。 2.pytho
技术学习
未读
统计Excel表格数据最大版本
平时的工作中总有一些需求可以用python来解决,但是平时解决掉之后并没有做记录,然后导致同样的需求重复出现后又去重新写脚本,非常滴不nice😄。有一个需求是excel表格中有若干条(上千条)关于番号和版本的记录(其中第一版为“N”版,其他版本是从1开始递增的整数),针对以上需求写了一个小脚本,此
雅思100句 (另一版本)
Typical of the grassland dwellers of the continent is the American antelope, or pronghorn. Of the millions who saw Haley's comet in 1986, how many peo
雅思100句 (31 ~ 40)
He wanted to give people a feeling of suspense as they see the building first from a distance, and then close-up, and the shape of the building as a w
雅思100句 (21 ~ 30)
It's true there are new regulations for mercury emissions from power plants, but these will need billion of dollars to implement and increase costs fr
雅思100句 (11 ~ 20)
Though we might think of film as an essentially visual experience, we really connot affrod to underestimate the importance of film sound. As far as go
雅思100句 (1 ~ 10)
There is considerable debate over how we should react if we detact a signal from an alien civilization. The two world wars, whitch interruted the supp