-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Release] Released for
2023.12.1
(#40)
- Loading branch information
Showing
10 changed files
with
168 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
function shuffle(array) { | ||
let currentIndex = array.length, temporaryValue, randomIndex; | ||
while (0 !== currentIndex) { | ||
randomIndex = Math.floor(Math.random() * currentIndex); | ||
currentIndex -= 1; | ||
temporaryValue = array[currentIndex]; | ||
array[currentIndex] = array[randomIndex]; | ||
array[randomIndex] = temporaryValue; | ||
} | ||
return array; | ||
} | ||
|
||
function showRandomAnnouncement(groupId, timeInterval) { | ||
const announceFastAPI = document.getElementById(groupId); | ||
if (announceFastAPI) { | ||
let children = [].slice.call(announceFastAPI.children); | ||
children = shuffle(children) | ||
let index = 0 | ||
const announceRandom = () => { | ||
children.forEach((el, i) => {el.style.display = "none"}); | ||
children[index].style.display = "block" | ||
index = (index + 1) % children.length | ||
} | ||
announceRandom() | ||
setInterval(announceRandom, timeInterval) | ||
} | ||
} | ||
|
||
async function main() { | ||
showRandomAnnouncement('announce-left', 5000) | ||
showRandomAnnouncement('announce-right', 10000) | ||
} | ||
|
||
main() |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: 2023.12.1 | ||
--- | ||
|
||
| Release version | Release Time | | ||
|:---------------:|:------------:| | ||
| `2023.12.1` | `2023-12-23` | | ||
|
||
## OpenAi | ||
|
||
--- | ||
|
||
- Create fine-tuning job | ||
- List fine-tuning jobs | ||
- List fine-tuning events | ||
- Retrieve fine-tuning job | ||
- Cancel fine-tuning |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
title: 2023.12.1 | ||
--- | ||
|
||
| 发布版本 | 发布时间 | | ||
|:-----------:|:------------:| | ||
| `2023.12.1` | `2023-12-23` | | ||
|
||
## OpenAi | ||
|
||
--- | ||
|
||
- 创建微调作业 | ||
- 列出微调作业 | ||
- 列出微调事件 | ||
- 检索微调作业 | ||
- 取消微调作业 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: Release Notes | ||
title: Old Versions | ||
|
||
hide: | ||
- navigation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
title: 发行说明 | ||
title: 旧版本 | ||
|
||
hide: | ||
- navigation | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
{#- | ||
This file was automatically generated - do not edit | ||
-#} | ||
{% extends "base.html" %} | ||
{% block extrahead %} | ||
<link href="https://cdn.bootcdn.net/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/> | ||
|
||
{% endblock %} | ||
{% block announce %} | ||
<div class="announce-wrapper"> | ||
<div id="announce-left"> | ||
{% for banner in config.banners %} | ||
<div class="item"> | ||
<a class="announce-link" href="{{ banner.link }}" style="color: #ffffff;"> | ||
<div class="twemoji"> | ||
<div>{{ banner.title }}</div> | ||
<div style="margin-left: 100px; color: #ffffff;">{{ banner.description }}</div> | ||
</div> | ||
</a> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
<div id="announce-right" style="position: relative;"> | ||
<div class="item"> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{{ super() }} | ||
<!-- Reload on palette change --> | ||
<script> | ||
var palette = __md_get("__palette") | ||
if (palette && typeof palette.color === "object") { | ||
if (palette.color.scheme === "slate") { | ||
var giscus = document.querySelector("script[src*=giscus]") | ||
giscus.setAttribute("data-theme", "dark") | ||
} | ||
} | ||
|
||
/* Register event handlers after documented loaded */ | ||
document.addEventListener("DOMContentLoaded", function () { | ||
var ref = document.querySelector("[data-md-component=palette]") | ||
ref.addEventListener("change", function () { | ||
var palette = __md_get("__palette") | ||
if (palette && typeof palette.color === "object") { | ||
var theme = palette.color.scheme === "slate" ? "dark" : "light" | ||
|
||
/* Instruct Giscus to change theme */ | ||
var frame = document.querySelector(".giscus-frame") | ||
frame.contentWindow.postMessage( | ||
{giscus: {setConfig: {theme}}}, | ||
"https://giscus.app" | ||
) | ||
} | ||
}) | ||
}) | ||
</script> | ||
{% endblock %} | ||
|
||
{% block scripts %} | ||
{{ super() }} | ||
<script src="{{ 'assets/javascripts/bundle.39654835.min.js' | url }}"></script> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters