Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/open-mmlab/Amphion
09 September 2024, 06:46:44 UTC
  • Code
  • Branches (2)
  • Releases (3)
  • Visits
    • Branches
    • Releases
    • HEAD
    • refs/heads/main
    • refs/heads/revert-154-FACodec-readme
    • v0.1.1-alpha
    • v0.1.0-alpha
    • v0.1.0
  • 320c54d
  • /
  • config
  • /
  • valle.json
Raw File Download Save again
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
  • revision
  • snapshot
  • release
origin badgecontent badge
swh:1:cnt:929f79c3b31abb56a826c85b97f67d42b9e2ead8
origin badgedirectory badge
swh:1:dir:2eb86d8d836dc8ebd5624a84de8ab54e76607003
origin badgerevision badge
swh:1:rev:a4c23e2e1f15e4be0b0c7194e6b69a82a4bb4a07
origin badgesnapshot badge
swh:1:snp:bef780d851faeac80aef6db569e51e66f505bf34
origin badgerelease badge
swh:1:rel:acb10df35ee6dcf0c0dcb3216afce897fb0bc227

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
  • revision
  • snapshot
  • release
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: a4c23e2e1f15e4be0b0c7194e6b69a82a4bb4a07 authored by Xueyao Zhang on 18 December 2023, 14:14:33 UTC
Amphion v0.1 Release (#39)
Tip revision: a4c23e2
valle.json
{
    "base_config": "config/tts.json",
    "model_type": "VALLE",
    "task_type": "tts",
    "dataset": [
        "libritts"
    ],
    "preprocess": {
        "extract_phone": true,
        "phone_extractor": "espeak", // phoneme extractor: espeak, pypinyin, pypinyin_initials_finals or lexicon 
        "extract_acoustic_token": true,
        "acoustic_token_extractor": "Encodec", // acoustic token extractor: encodec, dac(todo)
        "acoustic_token_dir": "acoutic_tokens",
        "use_text": false,
        "use_phone": true,
        "use_acoustic_token": true,
        "symbols_dict": "symbols.dict",
        "min_duration": 0.5, // the duration lowerbound to filter the audio with duration < min_duration
        "max_duration": 14, //  the duration uperbound to filter the audio with duration > max_duration.              
        "sample_rate": 24000, 
        "codec_hop_size": 320
    },
    "model": {
        "text_token_num": 512,
        "audio_token_num": 1024,
        "decoder_dim": 1024, // embedding dimension of the decoder model
        "nhead": 16, // number of attention heads in the decoder layers
        "num_decoder_layers": 12, // number of decoder layers
        "norm_first": true, // pre or post Normalization.
        "add_prenet": false, // whether add PreNet after Inputs
        "prefix_mode": 0, //  mode for how to prefix VALL-E NAR Decoder, 0: no prefix, 1: 0 to random, 2: random to random, 4: chunk of pre or post utterance
        "share_embedding": true, // share the parameters of the output projection layer with the parameters of the acoustic embedding
        "nar_scale_factor": 1, // model scale factor which will be assigned different meanings in different models
        "prepend_bos": false, // whether prepend <BOS> to the acoustic tokens -> AR Decoder inputs
        "num_quantizers": 8, // numbert of the audio quantization layers
        // "scaling_xformers": false, // Apply Reworked Conformer scaling on Transformers 
    },
    "train": {
        "ddp": false,
        "train_stage": 1, // 0: train all modules, For VALL_E, support 1: AR Decoder 2: NAR Decoder(s)
        "max_epoch": 20, 
        "optimizer": "AdamW", 
        "scheduler": "cosine",
        "warmup_steps": 16000, // number of steps that affects how rapidly the learning rate decreases
        "base_lr": 1e-4, // base learning rate."
        "valid_interval": 1000,
        "log_epoch_step": 1000,
        "save_checkpoint_stride": [
            1,
            1
        ]
    }
}

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API