Beancount

November 2, 2024 · 0 min · Gray King

How Precision in Beancount is Determined

source: https://beancount.github.io/docs/precision_tolerances.html#how-precision-is-determined tags: Beancount The sum value for some day is incorrect after I imported my records into beancount. Then I realised that’s the pricision problem. The problem was solved after I turn all my amounts to accurate to two decimal places. For each Transaction: Derive Automatically.

November 2, 2024 · 1 min · Gray King

30 生态缸开缸

底滤板 火山石打底 清洗 火山石冲洗2-3次。 用量 5 斤以内 铺设 平铺后,中间稍低,两边稍高;前低后高 青龙石随意摆放 铺放草泥 前面薄、后面厚 打湿水草泥种水草 种植水草 红绿3:4 前矮后高 两边绿中间红 阴性水草容易 对二氧化碳和光的要求不高。 加水,可以用海绵垫着,防止直冲 灯光 第一天24小时开 后三天每天 5-8 小时 换水 前三天每天换水 二氧化碳 第一个礼拜加大加倍 参考 https://youtu.be/ws89zmwJfcs?si=ig2uVxhgNnRwqy74 https://youtu.be/4weyFa3F9ws?si=aoo_XDUp0q0XPpev https://youtu.be/GxBvWuxhLrY?si=esdnaTrHllYSS5hb

September 23, 2024 · 1 min · Gray King

HuggingFace

tags: AI

August 26, 2024 · 1 min · Gray King

Set cache_file_name to avoid running Dataset.map every time

tags: AI, HuggingFace, Fine-Tune source: https://discuss.huggingface.co/t/how-to-save-a-mapped-dataset/42303/4 I have a Dataset.map that runs every time I run the script: train_ds.map(prepare_dataset, num_proc=1) I solved it by setting cache_file_name : train_ds = train_ds.map(prepare_dataset, num_proc=1, cache_file_name="trans.ds.cache")

August 26, 2024 · 1 min · Gray King