https://github.com/atelierarith/docstringtranslationplamobackend.jl

DocstringTranslation PLaMo backend

https://github.com/atelierarith/docstringtranslationplamobackend.jl

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.5%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

DocstringTranslation PLaMo backend

Basic Info
  • Host: GitHub
  • Owner: AtelierArith
  • License: apache-2.0
  • Language: Julia
  • Default Branch: main
  • Size: 14.6 KB
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme

README.md

DocstringTranslationPLaMoBackend.jl

Description (Japanese)

この Julia パッケージは日本産の LLM PLaMo をバックエンドとする Julia のマニュアルを翻訳する機能を提供します. このパッケージは CLI ツール plamo-translate-cli をラップすることで翻訳機能を実現しています.

Description (English)

(Built with PLaMo)

This Julia package provides functionality to translate manuals for Julia by utilizing the Japanese-origin LLM PLaMo as its backend. This package implements translation functionality by wrapping the CLI tool plamo-translate-cli.

TL; DR

```julia julia> using DocstringTranslationPLaMoBackend

julia> @switchlang! :Japanese "Japanese"

julia> @doc sin sin(x)

x の正弦を計算します。ここで x はラジアン単位です。

関連項目: sind, sinpi, sincos, cis, asin.

使用例 ≡≡≡≡≡≡

julia> round.(sin.(range(0, 2pi, length=9)'), digits=3) 1×9 Matrix{Float64}: 0.0 0.707 1.0 0.707 0.0 -0.707 -1.0 -0.707 -0.0

julia> sind(45) 0.7071067811865476

julia> sinpi(1/4) 0.7071067811865475

julia> round.(sincos(pi/6), digits=3) (0.5, 0.866)

julia> round(cis(pi/6), digits=3) 0.866 + 0.5im

julia> round(exp(im*pi/6), digits=3) 0.866 + 0.5im

sin(A::AbstractMatrix)

正方行列 A の行列正弦を計算します。

A が対称行列またはエルミート行列の場合、その固有分解(eigen)を用いて正弦を計算します。それ以外の場合は、exp を呼び出すことで正弦を算出します。

使用例 ≡≡≡≡≡≡

julia> sin(fill(1.0, (2,2)))) 2×2 Matrix{Float64}: 0.454649 0.454649 0.454649 0.454649

```

Setup

git clone https://github.com/AtelierArith/DocstringTranslationPLaMoBackend.jl.git cd DocstringTranslationPLaMoBackend.jl julia --project -e 'using Pkg; Pkg.instantiate()' julia --project install_model.jl julia --project -e 'using DocstringTranslationPLaMoBackend; @switchlang! :Japanese; display(@doc sin)'

Owner

  • Name: AtelierArith
  • Login: AtelierArith
  • Kind: organization
  • Email: contact@atelier-arith.jp
  • Location: Japan

Enhance "Math meets Art"

GitHub Events

Total
  • Watch event: 1
  • Public event: 1
  • Push event: 4
Last Year
  • Watch event: 1
  • Public event: 1
  • Push event: 4

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 8
  • Total Committers: 1
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 8
  • Committers: 1
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Satoshi Terasaki t****h@g****m 8

Issues and Pull Requests

Last synced: 12 months ago