Jonney's recent timeline updates
Jonney

Jonney

V2EX member #32447, joined on 2013-01-16 17:02:37 +08:00
Today's activity rank 19297
Jonney's recent replies
Mar 21
Replied to a topic by Comyn Java ai 编程的情况在你们使用什么 IDE
已经根本不用 IDE 了
linux 普通用户运行,开放所有权限。用 root 账户每小时备份。AI 接触不到任何密码。
@sunnysab 的确有个仓库摆在那,但你点进去看,没有源文件
Apr 30, 2025
Replied to a topic by efcndi 生活 癌后临终笔记(序 + 求助)
@zryadj 你问 AI 啥都问不出来,现阶段的 AI 只是一个推理工具/智能搜索引擎而已,更多时候是人工智障。

美国国家科学院
https://www.pnas.org/doi/full/10.1073/pnas.0804226105

维生素 C 发现之旅
https://book.douban.com/subject/21318942/

癌症终结者,公众号:张科生
https://mp.weixin.qq.com/s/pyPXCT9r5T8-Js5Da6f3qA

正分子医学
https://www.orthomolecular.org/resources/omns/v06n23.shtml
https://orthomolecular.org/library/jom/2004/pdf/2004-v19n04-p198.pdf
https://orthomolecular.org/resources/omns/chs/v17n20-chs.pdf

现有针对癌症的治疗属于“治疗但不治愈”,给医疗系统带来巨量的利润,完全没有动力去推动廉价有效的治愈方式。要活命,就要靠自己用心寻找,用心才能成功。
Apr 30, 2025
Replied to a topic by efcndi 生活 癌后临终笔记(序 + 求助)
大剂量维生素 C 注射+降铁可以有效治疗癌症,癌细胞不是叛变细胞,而是免疫细胞
Jan 12, 2025
Replied to a topic by Jonney SSL IP 证书拼车
@TrumpBB 为啥你们的页面风格一模一样?难道有一个总代理?
May 28, 2024
Replied to a topic by 934831065ldc OpenAI 使用 gpt4o,如何计算图片 token?
```
def chat(client,messages,model):
print()
start=time.time()
answer=[]
for chunk in client.chat.completions.create(
model=model,
messages=messages,
stream=True,
stream_options={'include_usage':True},
temperature=0,
):
if not chunk.choices:
continue
stream=chunk.choices[0].delta.content or ''
if answer or stream.strip():
answer.append(stream)
print(stream,end='',flush=True)
end=time.time()
count=chunk.usage.total_tokens
print(f'\n\n{end-start:.2f} secs, {count} tokens')
return ''.join(answer)
```
最新版客户端,加上参数 stream_options={'include_usage':True},那么在返回的最后一个 chunk 带 token 消耗数量
May 14, 2024
Replied to a topic by LemonLeon OpenAI 给大家总结下昨晚 OpenAI 大会情况
挤牙膏
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   979 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 22:01 · PVG 06:01 · LAX 15:01 · JFK 18:01
♥ Do have faith in what you're doing.