reparam-discrete-diffusion
Reparameterized Discrete Diffusion Models for Text Generation
File Explorer
Download Latest Version (.zip)- __init__.py
- absorbing_diffusion.py
- discrete_diffusion_base.py
- multinomial_diffusion.py
- reparam_absorbing_diffusion.py
- reparam_multinomial_diffusion.py
- utils.py
- setup.py
- __init__.py
- diffusion_loss.py
- __init__.py
- diffusion_transformer.py
- diffusion_transformer_decoder.py
- diffusion_transformer_encoder.py
- utils.py
- bpe_encode.py
- decode_diffuseq.py
- eval_diffuseq.py
- preprocess_diffuseq_datasets.sh
- __init__.py
- diffusion_translation_task.py
- utils.py
- __init__.py
- diffusion_generator.py
- time_sampler.py
- utils.py
- vocab.txt
- __init__.py
- adagrad_with_grad_clip.py
- adaptive_span_attention.py
- adaptive_span_loss.py
- adaptive_span_model.py
- adaptive_span_model_wrapper.py
- README.md
- truncated_bptt_lm_task.py
- deduplicate_lines.py
- extract_bt_data.py
- prepare-de-monolingual.sh
- prepare-wmt18en2de.sh
- README.md
- sacrebleu.sh
- tokenized_bleu.sh
- README.glue.md
- README.md
- README.summarization.md
- summarize.py
- get_bitext.py
- get_data.sh
- gru_transformer.py
- README.md
- README.md
- normalize.py
- README.md
- tok.py
- README.md
- mine.py
- mine_example.sh
- encoder_analysis.py
- sentence_retrieval_tatoeba.sh
- eval.sh
- download_and_preprocess_flores_test.sh
- download_and_preprocess_tatoeba.sh
- README.md
- save_encoder.py
- README.md
- deen.yaml
- __init__.py
- discriminative_reranking_criterion.py
- __init__.py
- discriminative_reranking_model.py
- prep_data.py
- __init__.py
- discriminative_reranking_task.py
- __init__.py
- drnmt_rerank.py
- README.md
- __init__.py
- noisy_channel_beam_search.py
- noisy_channel_sequence_generator.py
- noisy_channel_translation.py
- README.md
- flores_logo.png
- README.md
- README.md
- README.md
- ngram.yaml
- transformer.yaml
- submitit_slurm.yaml
- submitit_slurm_8gpu.yaml
- infer_fsqlm.yaml
- infer_kenlm.yaml
- infer_viterbi.yaml
- it1.yaml
- ls_4gram.yaml
- submitit_reg.yaml
- base_10h.yaml
- iter1.yaml
- iter2.yaml
- submitit_reg.yaml
- hubert_base_librispeech.yaml
- hubert_large_librivox.yaml
- hubert_xlarge_librivox.yaml
- dump_hubert_feature.py
- dump_hubert_feature_s2t.py
- dump_km_label.py
- dump_mfcc_feature.py
- dump_w2v2_feature.py
- feature_utils.py
- learn_kmeans.py
- README.md
- measure_teacher_quality.py
- README.md
- update_ckpt.py
- prepare-wmt18en2de_no_norm_no_escape_no_agressive.sh
- README.md
- prepare-wikitext-103.sh
- README.adaptive_inputs.md
- README.conv.md
- README.md
- __init__.py
- laser_lstm.py
- laser_task.py
- laser_transformer.py
- multitask_data_utils.py
- README.md
- __init__.py
- latent_depth.py
- __init__.py
- latent_multilingual_transformer.py
- latent_transformer.py
- __init__.py
- latent_layers.py
- __init__.py
- multilingual_translation_latent_depth.py
- README.md
- README.md
- __init__.py
- linformer_roberta.py
- __init__.py
- linformer_sentence_encoder.py
- linformer_sentence_encoder_layer.py
- multihead_linear_attention.py
- __init__.py
- README.md
- clean_histogram.py
- dedup_data.py
- remove_too_much_punc.py
- .gitignore
- README.md
- seg_ja.sh
- seg_ko.sh
- tokenize_indic.py
- tokenize_thai.py
- tokenize_zh.py
- tokenizer_ar.sh
- install_dependecies.sh
- README.md
- tok.sh
- README.md
- detok.py
- README.md
- __init__.py
- fairseqmmdataset.py
- mmdataset.py
- __init__.py
- evaluator.py
- metric.py
- predictor.py
- __init__.py
- fairseqmmloss.py
- loss.py
- nce.py
- __init__.py
- fairseqmmmodel.py
- mmfusion.py
- mmfusionnlg.py
- transformermodel.py
- __init__.py
- mm.py
- retri.py
- vectorpool.py
- s3dg.py
- __init__.py
- dedupprocessor.py
- dsprocessor.py
- how2processor.py
- how2retriprocessor.py
- processor.py
- __init__.py
- fairseqmmtask.py
- milncetask.py
- retritask.py
- task.py
- vlmtask.py
- __init__.py
- load_config.py
- shardedtensor.py
- __init__.py
- localjob.py
- predict.py
- coin.yaml
- crosstask.yaml
- how2.yaml
- test_coin.yaml
- test_crosstask.yaml
- test_crosstask_zs.yaml
- test_vtt.yaml
- test_vttqa.yaml
- test_youcook.yaml
- test_youcookcap.yaml
- vtt.yaml
- vttqa.yaml
- youcook.yaml
- youcookcap.yaml
- mmfusionmtm.yaml
- vlm.yaml
- coin_videoclip.yaml
- crosstask_videoclip.yaml
- how2.yaml
- test_coin_videoclip.yaml
- test_coin_zs.yaml
- test_crosstask_videoclip.yaml
- test_crosstask_zs_videoclip.yaml
- test_didemo_zs.yaml
- test_vtt_videoclip.yaml
- test_vtt_zs.yaml
- test_vttqa_videoclip.yaml
- test_vttqa_zs.yaml
- test_youcook_videoclip.yaml
- test_youcook_zs.yaml
- vtt_videoclip.yaml
- vttqa_videoclip.yaml
- youcook_videoclip.yaml
- videoclip.yaml
- videoretri.yaml
- coin.yaml
- coin_videoclip.yaml
- crosstask.yaml
- crosstask_videoclip.yaml
- default.yaml
- ft.yaml
- how2.yaml
- test.yaml
- test_coin.yaml
- test_coin_videoclip.yaml
- test_coin_zs.yaml
- test_crosstask.yaml
- test_crosstask_videoclip.yaml
- test_crosstask_zs.yaml
- test_crosstask_zs_videoclip.yaml
- test_didemo_zs.yaml
- test_vtt.yaml
- test_vtt_videoclip.yaml
- test_vtt_zs.yaml
- test_vttqa.yaml
- test_vttqa_videoclip.yaml
- test_vttqa_zs.yaml
- test_youcook.yaml
- test_youcook_videoclip.yaml
- test_youcook_zs.yaml
- test_youcookcap.yaml
- vtt.yaml
- vtt_videoclip.yaml
- vttqa.yaml
- vttqa_videoclip.yaml
- youcook.yaml
- youcook_videoclip.yaml
- youcookcap.yaml
- mfmmlm.yaml
- bert-base-uncased.yaml
- pretokenization.py
- s3d.sh
- extract.py
- model.py
- pathbuilder.py
- preprocessing.py
- random_sequence_shuffler.py
- shard_feature.py
- videoreader.py
- .gitignore
- CONFIG.md
- DATASET.md
- endtask.md
- locallaunch.py
- pretraining.md
- README.md
- setup.py
- videoclip.png
- vlm.png
- dedup.py
- fasttext_multi_filter.py
- strip_sgm.sh
- binarize.py
- check_iswlt_test_data.py
- check_self_overlaps.py
- check_valid_test_overlaps.py
- dedup_all.py
- download_af_xh.sh
- download_flores_data.sh
- download_iitb.sh
- download_iwslt_and_extract.sh
- download_lotus.sh
- download_ML50_v1.sh
- download_ted_and_extract.py
- download_wat19_my.sh
- download_wmt19_and_before.py
- download_wmt20.sh
- preprocess_ML50_v1.sh
- README.md
- remove_valid_test_in_train.py
- requirement.txt
- finetune_multilingual_model.sh
- ML50_langs.txt
- multilingual_fairseq_gen.sh
- README.md
- train_multilingual_model.sh
- __init__.py
- README.md
- rerank.py
- rerank_generate.py
- rerank_options.py
- rerank_score_bw.py
- rerank_score_lm.py
- rerank_tune.py
- rerank_utils.py
- nat_ende.sh
- nat_enfr.sh
- nat_enro.sh
- nat_iwslt.sh
- README.md
- scripts.md
- README.md
- train_lm.sh
- alignment_train_cpu.cpp
- alignment_train_cuda.cpp
- alignment_train_cuda.h
- alignment_train_kernel.cu
- utils.h
- paraphrase.py
- README.md
- README.md
- __init__.py
- transformer_pg.py
- postprocess.py
- preprocess.py
- README.md
- README.xsum.md
- README.md
- transformer_quantization_config.yaml
- __init__.py
- commonsense_qa_task.py
- download_cqa_data.sh
- README.md
- cola.yaml
- mnli.yaml
- mrpc.yaml
- qnli.yaml
- qqp.yaml
- rte.yaml
- sst_2.yaml
- sts_b.yaml
- base.yaml
- make_training_seqlen_plots.py
- torch_train.py
- build.sh
- interactive.sh
- ngc_pyt.Dockerfile
- binning.gif
- binning_perf.gif
- preprocess_perf.gif
- summary.gif
- local_example.sh
- slurm_example.sub
- __init__.py
- binning.py
- pretrain.py
- __init__.py
- load_balance.py
- readers.py
- __init__.py
- books.py
- common_crawl.py
- utils.py
- wikipedia.py
- __init__.py
- bert.py
- dataloader.py
- datasets.py
- log.py
- utils.py
- __init__.py
- random.py
- types.py
- utils.py
- .dockerignore
- .gitignore
- .style.yapf
- README.md
- setup.py
- __init__.py
- README.md
- wsc_criterion.py
- wsc_task.py
- wsc_utils.py
- download_glue_data.py
- glue_eval.py
- multiprocessing_bpe_encoder.py
- preprocess_GLUE_tasks.sh
- preprocess_RACE.py
- preprocess_RACE.sh
- README.custom_classification.md
- README.glue.md
- README.md
- README.pretraining.md
- README.race.md
- __init__.py
- label_smoothed_cross_entropy_r3f.py
- sentence_prediction_r3f.py
- __init__.py
- README.md
- README.md
- README.finetuning.md
- README.md
- ende-mma.md
- enja-waitk.md
- simul_t2t_enja.py
- __init__.py
- convtransformer_simul_trans.py
- transformer_monotonic_attention.py
- __init__.py
- fixed_pre_decision.py
- monotonic_multihead_attention.py
- monotonic_transformer_layer.py
- test_alignment_train.py
- test_text_models.py
- __init__.py
- functions.py
- monotonic_attention.py
- p_choose_strategy.py
- __init__.py
- README.md
- __init__.py
- ASG_loss.py
- cross_entropy_acc.py
- __init__.py
- asr_dataset.py
- collaters.py
- data_utils.py
- replabels.py
- asr_prep_json.py
- prepare-librispeech.sh
- kaldi_initializer.yaml
- __init__.py
- add-self-loop-simple.cc
- kaldi_decoder.py
- kaldi_initializer.py
- __init__.py
- vggtransformer.py
- w2l_conv_glu_enc.py
- ax.yaml
- infer.yaml
- __init__.py
- base_decoder.py
- decoder.py
- decoder_config.py
- flashlight_decoder.py
- viterbi_decoder.py
- __init__.py
- infer.py
- README.md
- __init__.py
- speech_recognition.py
- wer_utils.py
- __init__.py
- infer.py
- README.md
- w2l_decoder.py
- common_voice_example.md
- ljspeech_example.md
- vctk_example.md
- __init__.py
- eval_asr.py
- eval_f0.py
- eval_sp.py
- get_eval_manifest.py
- __init__.py
- demucs.py
- pretrained.py
- resample.py
- utils.py
- __init__.py
- __init__.py
- __init__.py
- denoise_and_vad_audio.py
- get_common_voice_audio_manifest.py
- get_feature_manifest.py
- get_ljspeech_audio_manifest.py
- get_speaker_embedding.py
- get_vctk_audio_manifest.py
- __init__.py
- data_utils.py
- generate_waveform.py
- README.md
- utils.py
- mustc_noise.list
- __init__.py
- text_guide_cross_entropy_acc.py
- ende-mustc.md
- iwslt2021.md
- __init__.py
- s2t_dualinputtransformer.py
- s2t_dualinputxmtransformer.py
- g2p_encode.py
- __init__.py
- speech_text_joint.py
- __init__.py
- README.md
- covost_example.md
- librispeech_example.md
- mtedx_example.md
- mustc_example.md
- simulst_mustc_example.md
- fairseq_simul_st_agent.py
- data_utils.py
- prep_covost_data.py
- prep_librispeech_data.py
- prep_mtedx_data.py
- prep_mustc_data.py
- README.md
- seg_mustc_data.py
- README.md
- dump_abx_feats.py
- README.md
- bleu_utils.py
- cut_as.py
- dict.ltr.txt
- continuation_eval.py
- ppx.py
- README.md
- self_auto_bleu.py
- README.md
- __init__.py
- cluster_kmeans.py
- dump_feats.py
- quantize_with_kmeans.py
- utils.py
- cpc_feature_reader.py
- hubert_feature_reader.py
- logmel_feature_reader.py
- utils.py
- w2v2_feature_reader.py
- __init__.py
- README.md
- README.md
- resynthesize_speech.py
- README.md
- sample.py
- __init__.py
- audio_processing.py
- cleaners.py
- cmudict.py
- layers.py
- model.py
- numbers.py
- stft.py
- symbols.py
- text.py
- utils.py
- waveglow_denoiser.py
- convert_to_16k.py
- glow.py
- multiproc.py
- README.md
- synthesize_audio_from_units.py
- tts_data.py
- utils.py
- README.md
- fig.png
- README.md
- prepare-iwslt14.sh
- prepare-iwslt17-multilingual.sh
- prepare-wmt14en2de.sh
- prepare-wmt14en2fr.sh
- README.md
- __init__.py
- logsumexp_moe.py
- mean_pool_gating_network.py
- translation_moe.py
- README.md
- score.py
- __init__.py
- README.md
- transformer_xl_model.py
- truncated_bptt_lm_task.py
- aggregate_scores.py
- meteor.py
- README.md
- repeat_lines.py
- base_100h.yaml
- base_10h.yaml
- base_10m.yaml
- base_1h.yaml
- base_960h.yaml
- vox_100h.yaml
- vox_10h.yaml
- vox_10m.yaml
- vox_1h.yaml
- vox_960h.yaml
- wav2vec2_base_librispeech.yaml
- wav2vec2_large_librivox.yaml
- wav2vec2_large_librivox_tpu-pod.yaml
- wav2vec2_large_librivox_tpu.yaml
- binarize_manifest.sh
- w2v_finetune.yaml
- w2vu.yaml
- viterbi.yaml
- test.uid
- train.uid
- train_text.uid
- valid.uid
- test.uid
- train.uid
- train_text.uid
- valid.uid
- __init__.py
- extracted_features_dataset.py
- random_input_dataset.py
- copy_aligned_text.py
- decode.sh
- prepare_data_from_w2v.py
- prepare_lang.sh
- prepare_lang_word.sh
- prepare_lm.sh
- score.sh
- show_wer.sh
- train_subset_lgbeam.sh
- unsup_select.py
- unsup_select_decode.sh
- unsup_select_decode_word.sh
- train_deltas.sh
- train_lda_mllt.sh
- train_sat.sh
- cmd.sh
- decode_phone.sh
- decode_word_step1.sh
- decode_word_step2.sh
- path.sh
- steps
- train.sh
- utils
- README.md
- __init__.py
- wav2vec_u.py
- apply_pca.py
- copy_labels.py
- filter_lexicon.py
- filter_tsv.py
- g2p_wrd_to_phn.py
- ltr_to_wrd.py
- mean_pool.py
- merge_clusters.py
- normalize_and_filter_text.py
- normalize_text.py
- pca.py
- phonemize_with_sil.py
- prepare_audio.sh
- prepare_text.sh
- prepare_timit.sh
- remove_silence.py
- vads.py
- wav2vec_apply_cluster_faiss.py
- wav2vec_cluster_faiss.py
- wav2vec_extract_features.py
- wer.py
- wrd_to_ltr.py
- __init__.py
- unpaired_audio_text.py
- __init__.py
- README.md
- w2vu_generate.py
- finetune.yaml
- README.md
- __init__.py
- libri_labels.py
- README.md
- vq-wav2vec_featurize.py
- wav2vec_featurize.py
- wav2vec_manifest.py
- README.md
- README.md
- normalize-punctuation.perl
- replace-unicode-punctuation.perl
- eval.sh
- README.md
- README.md
- .gitignore
- __init__.py
- diffuseq_generate.sh
- diffuseq_train.sh
- mt_generate.sh
- mt_train.sh
- __init__.py
- dummy_dataset.py
- dummy_lm.py
- dummy_masked_lm.py
- dummy_model.py
- dummy_mt.py
- ngram_repeat_block_cuda.cpp
- ngram_repeat_block_cuda_kernel.cu
- balanced_assignment.cpp
- libbleu.cpp
- module.cpp
- edit_dist.cpp
- binding.cpp
- edit_dist.cu
- edit_dist.h
- transformer_lm_baevski_gbw.yaml
- transformer_lm_baevski_wiki103.yaml
- transformer_lm_big.yaml
- transformer_lm_gbw.yaml
- transformer_lm_gpt.yaml
- transformer_lm_gpt2_big.yaml
- transformer_lm_gpt2_medium.yaml
- transformer_lm_gpt2_small.yaml
- transformer_lm_wiki103.yaml
- vq_wav2vec_gumbel.yaml
- wav2vec2_base.yaml
- wav2vec2_large.yaml
- __init__.py
- config.yaml
- __init__.py
- adaptive_loss.py
- composite_loss.py
- cross_entropy.py
- ctc.py
- fairseq_criterion.py
- fastspeech2_loss.py
- hubert_criterion.py
- label_smoothed_cross_entropy.py
- label_smoothed_cross_entropy_latency_augmented.py
- label_smoothed_cross_entropy_with_alignment.py
- legacy_masked_lm.py
- masked_lm.py
- model_criterion.py
- nat_loss.py
- sentence_prediction.py
- sentence_ranking.py
- tacotron2_loss.py
- wav2vec_criterion.py
- __init__.py
- global_cmvn.py
- specaugment.py
- utterance_cmvn.py
- __init__.py
- audio_utils.py
- data_cfg.py
- frm_text_to_speech_dataset.py
- hubert_dataset.py
- multi_modality_dataset.py
- raw_audio_dataset.py
- speech_to_text_dataset.py
- speech_to_text_joint_dataset.py
- text_to_speech_dataset.py
- __init__.py
- byte_bpe.py
- byte_utils.py
- bytes.py
- characters.py
- fastbpe.py
- gpt2_bpe.py
- gpt2_bpe_utils.py
- hf_bert_bpe.py
- hf_byte_bpe.py
- moses_tokenizer.py
- nltk_tokenizer.py
- sentencepiece_bpe.py
- space_tokenizer.py
- subword_nmt_bpe.py
- utils.py
- __init__.py
- huffman_coder.py
- huffman_mmap_indexed_dataset.py
- __init__.py
- block_pair_dataset.py
- masked_lm_dataset.py
- masked_lm_dictionary.py
- __init__.py
- multilingual_data_manager.py
- multilingual_utils.py
- sampled_multi_dataset.py
- sampled_multi_epoch_dataset.py
- sampling_method.py
- __init__.py
- add_target_dataset.py
- append_token_dataset.py
- backtranslation_dataset.py
- base_wrapper_dataset.py
- bucket_pad_length_dataset.py
- colorize_dataset.py
- concat_dataset.py
- concat_sentences_dataset.py
- data_utils.py
- data_utils_fast.pyx
- denoising_dataset.py
- dictionary.py
- fairseq_dataset.py
- fasta_dataset.py
- id_dataset.py
- indexed_dataset.py
- iterators.py
- language_pair_dataset.py
- list_dataset.py
- lm_context_window_dataset.py
- lru_cache_dataset.py
- mask_tokens_dataset.py
- monolingual_dataset.py
- multi_corpus_dataset.py
- multi_corpus_sampled_dataset.py
- nested_dictionary_dataset.py
- noising.py
- num_samples_dataset.py
- numel_dataset.py
- offset_tokens_dataset.py
- pad_dataset.py
- plasma_utils.py
- prepend_dataset.py
- prepend_token_dataset.py
- raw_label_dataset.py
- replace_dataset.py
- resampling_dataset.py
- roll_dataset.py
- round_robin_zip_datasets.py
- shorten_dataset.py
- sort_dataset.py
- strip_token_dataset.py
- subsample_dataset.py
- text_compressor.py
- token_block_dataset.py
- token_block_utils_fast.pyx
- transform_eos_dataset.py
- transform_eos_lang_pair_dataset.py
- __init__.py
- configs.py
- constants.py
- initialize.py
- utils.py
- __init__.py
- distributed_timeout_wrapper.py
- fully_sharded_data_parallel.py
- legacy_distributed_data_parallel.py
- module_proxy_wrapper.py
- tpu_distributed_data_parallel.py
- utils.py
- __init__.py
- meters.py
- metrics.py
- progress_bar.py
- __init__.py
- vocab_parallel_cross_entropy.py
- __init__.py
- layers.py
- model.py
- __init__.py
- model.py
- __init__.py
- transformer.py
- transformer_lm.py
- __init__.py
- multihead_attention.py
- transformer_layer.py
- __init__.py
- megatron_trainer.py
- __init__.py
- hub_interface.py
- model.py
- __init__.py
- ema.py
- __init__.py
- hubert.py
- hubert_asr.py
- __init__.py
- hf_gpt2.py
- __init__.py
- cmlm_transformer.py
- fairseq_nat_model.py
- insertion_transformer.py
- iterative_nonautoregressive_transformer.py
- levenshtein_transformer.py
- levenshtein_utils.py
- nat_crf_transformer.py
- nonautoregressive_ensembles.py
- nonautoregressive_transformer.py
- run.sh
- __init__.py
- alignment_utils.py
- enc_dec.py
- hub_interface.py
- model.py
- model_camembert.py
- model_gottbert.py
- model_xlmr.py
- augmented_memory_attention.py
- emformer.py
- __init__.py
- berard.py
- convtransformer.py
- s2t_transformer.py
- utils.py
- xm_transformer.py
- __init__.py
- fastspeech2.py
- hifigan.py
- tacotron2.py
- tts_transformer.py
- vocoder.py
- __init__.py
- transformer_base.py
- transformer_config.py
- transformer_decoder.py
- transformer_encoder.py
- transformer_legacy.py
- __init__.py
- wav2vec.py
- wav2vec2.py
- wav2vec2_asr.py
- __init__.py
- composite_encoder.py
- distributed_fairseq_model.py
- fairseq_decoder.py
- fairseq_encoder.py
- fairseq_incremental_decoder.py
- fairseq_model.py
- fconv.py
- fconv_lm.py
- fconv_self_att.py
- lightconv.py
- lightconv_lm.py
- lstm.py
- lstm_lm.py
- luna_encoder.py
- masked_lm.py
- model_utils.py
- multilingual_transformer.py
- transformer_align.py
- transformer_from_pretrained_xlm.py
- transformer_lm.py
- __init__.py
- cuda_function_gen.py
- dynamicconv_cuda.cpp
- dynamicconv_cuda.cuh
- dynamicconv_cuda_kernel.cu
- dynamicconv_layer.py
- dynamiconv_cpu.cpp
- setup.py
- __init__.py
- cuda_function_gen.py
- lightconv_cuda.cpp
- lightconv_cuda.cuh
- lightconv_cuda_kernel.cu
- lightconv_layer.py
- setup.py
- __init__.py
- qconv.py
- qemb.py
- qlinear.py
- __init__.py
- em.py
- pq.py
- utils.py
- __init__.py
- qact.py
- qconv.py
- qemb.py
- qlinear.py
- __init__.py
- ops.py
- utils.py
- __init__.py
- quantization_options.py
- __init__.py
- adaptive_input.py
- adaptive_softmax.py
- base_layer.py
- beamable_mm.py
- character_token_embedder.py
- checkpoint_activations.py
- conv_tbc.py
- cross_entropy.py
- cuda_utils.cu
- downsampled_multihead_attention.py
- dynamic_convolution.py
- dynamic_crf_layer.py
- fairseq_dropout.py
- fp32_group_norm.py
- gelu.py
- grad_multiply.py
- gumbel_vector_quantizer.py
- kmeans_attention.py
- kmeans_vector_quantizer.py
- layer_drop.py
- layer_norm.py
- learned_positional_embedding.py
- lightweight_convolution.py
- linearized_convolution.py
- location_attention.py
- lstm_cell_with_zoneout.py
- multihead_attention.py
- positional_embedding.py
- quant_noise.py
- same_pad.py
- scalar_bias.py
- sinusoidal_positional_embedding.py
- sparse_multihead_attention.py
- sparse_transformer_sentence_encoder.py
- sparse_transformer_sentence_encoder_layer.py
- transformer_layer.py
- transformer_sentence_encoder.py
- transformer_sentence_encoder_layer.py
- transpose_last.py
- unfold.py
- vggblock.py
- __init__.py
- cosine_lr_scheduler.py
- fairseq_lr_scheduler.py
- fixed_schedule.py
- inverse_square_root_schedule.py
- manual_lr_scheduler.py
- pass_through.py
- polynomial_decay_schedule.py
- reduce_lr_on_plateau.py
- step_lr_scheduler.py
- tri_stage_lr_scheduler.py
- triangular_lr_scheduler.py
- __init__.py
- adadelta.py
- adafactor.py
- adagrad.py
- adam.py
- adamax.py
- amp_optimizer.py
- bmuf.py
- composite.py
- cpu_adam.py
- dynamic_loss_scaler.py
- fairseq_optimizer.py
- fp16_optimizer.py
- fused_adam.py
- fused_lamb.py
- nag.py
- sgd.py
- shard.py
- __init__.py
- bleu.py
- chrf.py
- tokenizer.py
- wer.py
- __init__.py
- audio_finetuning.py
- audio_pretraining.py
- cross_lingual_lm.py
- denoising.py
- fairseq_task.py
- frm_text_to_speech.py
- hubert_pretraining.py
- language_modeling.py
- legacy_masked_lm.py
- masked_lm.py
- multilingual_denoising.py
- multilingual_masked_lm.py
- multilingual_translation.py
- online_backtranslation.py
- semisupervised_translation.py
- sentence_prediction.py
- sentence_ranking.py
- simultaneous_translation.py
- speech_to_text.py
- text_to_speech.py
- translation.py
- translation_from_pretrained_bart.py
- translation_from_pretrained_xlm.py
- translation_lev.py
- translation_multi_simple_epoch.py
- __init__.py
- binarizer.py
- checkpoint_utils.py
- file_chunker_utils.py
- file_io.py
- file_utils.py
- hub_utils.py
- incremental_decoding_utils.py
- iterative_refinement_generator.py
- nan_detector.py
- ngram_repeat_block.py
- options.py
- pdb.py
- quantization_utils.py
- registry.py
- search.py
- sequence_generator.py
- sequence_scorer.py
- speech_generator.py
- token_generation_constraints.py
- tokenizer.py
- trainer.py
- utils.py
- version.txt
- __init__.py
- eval_lm.py
- generate.py
- hydra_train.py
- interactive.py
- preprocess.py
- score.py
- train.py
- validate.py
- extract.py
- validate.py
- __init__.py
- average_checkpoints.py
- build_sym_alignment.py
- compare_namespaces.py
- compound_split_bleu.sh
- convert_dictionary.lua
- convert_model.lua
- count_docs.py
- read_binarized.py
- rm_pt.py
- sacrebleu.sh
- shard_docs.py
- split_train_valid_docs.py
- spm_decode.py
- spm_encode.py
- spm_train.py
- test_fsdp.sh
- __init__.py
- test_bmuf.py
- test_distributed_timeout_wrapper.py
- test_module_proxy_wrapper.py
- test_utils.py
- utils.py
- __init__.py
- test_binaries_gpu.py
- test_ema_gpu.py
- transformer_quantization_config.yaml
- __init__.py
- asr_test_base.py
- test_collaters.py
- test_cross_entropy.py
- test_data_utils.py
- test_vggtransformer.py
- __init__.py
- test_activation_checkpointing.py
- test_amp_optimizer.py
- test_average_checkpoints.py
- test_backtranslation_dataset.py
- test_binaries.py
- test_character_token_embedder.py
- test_checkpoint_utils.py
- test_concat_dataset.py
- test_constraints.py
- test_convtbc.py
- test_data_utils.py
- test_dataclass_utils.py
- test_dataset.py
- test_dictionary.py
- test_ema.py
- test_export.py
- test_file_chunker_utils.py
- test_file_io.py
- test_fp16_optimizer.py
- test_huffman.py
- test_inference_dropout.py
- test_iopath.py
- test_iterators.py
- test_label_smoothing.py
- test_lm_context_window.py
- test_lstm_jitable.py
- test_memory_efficient_fp16.py
- test_metrics.py
- test_multi_corpus_dataset.py
- test_multi_corpus_sampled_dataset.py
- test_multihead_attention.py
- test_noising.py
- test_online_backtranslation.py
- test_plasma_utils.py
- test_reproducibility.py
- test_resampling_dataset.py
- test_roberta.py
- test_sequence_generator.py
- test_sequence_scorer.py
- test_sparse_multihead_attention.py
- test_token_block_dataset.py
- test_train.py
- test_transformer.py
- test_utils.py
- test_valid_subset_checks.py
- utils.py
- .isort.cfg
- .pre-commit-config.yaml
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- hubconf.py
- LICENSE
- pyproject.toml
- README.md
- setup.cfg
- setup.py
- train.py
- .gitignore
- LICENSE
- README.md
- requirements.txt
# Installation Guide
1. Get the code
git clone https://github.com/HKUNLP/reparam-discrete-diffusion
Downloads the entire project code from GitHub to your computer.
cd reparam-discrete-diffusion
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
pip install -e discrete_diffusion
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
