Views
No views yet
SentenceTransformer(
(0): Transformer({'max_seq_length': 512, 'do_lower_case': True, 'architecture': 'BertModel'})
(1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
(2): Normalize()
)pip install -U sentence-transformers1from sentence_transformers import SentenceTransformer
2
3# Download from the 🤗 Hub
4model = SentenceTransformer("aaa961/finetuned-bge-base-en-firefox-bugs-pairs")
5# Run inference
6sentences = [
7 "Loss of bookmarks state after OS hibernation User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0\n\nSteps to reproduce:\n\nKept Firefox 88.0 open for several days, using hibernate on Windows inbetween.\nCreated several bookmarks using Ctrl-D and Shift-Ctrl-D both for private as well as non-private sites.\nAlso created some bookmarks by dragging from address bar into subfolders of bookmark window.\nI was wondering, that on some windows star icon an address bar did not become blue.\nVerified, that i already had bookmarked this site by pressing Ctrl-D. The appropriate bookmarks subfolder was shown. Star still did not become true.\nAnything else seem ok.\nDid quit Firefox using File->Quit menu command, saving session with all open tabs.\nDid start Firefox with restoring previous session using menu command.\n\n\nActual results:\n\nSome of the bookmarks created above are lost. Can't remember most of them.\nHowever i remember a few sites, which i definitely had created a bookmark for.\nNo bookmark exists.\nAlso there is no entry in history for these sites. Missing entry in history might be due to using private window. (Can't remember if i was using a private window for opening this site.)\n\nI repeatedly had lost both bookmarks and history entries some month ago and then created a new profile. Did not import anything from previous profiles. \n\n\nExpected results:\n\nBookmarks should have been saved as expected.",
8 'Messages with triggers cause trigger listeners to initialize multiple times [Currently](https://searchfox.org/mozilla-central/rev/07342ce09126c513540c1c343476e026cfa907bf/browser/components/newtab/lib/ASRouter.jsm#827) we call the `.init` function of every trigger (when defined).\nThis makes sense for `openURL` where we accumulate more URLs but for others it is a bug\n* moments trigger will add multiple setIntervals\n* whatsNew will evaluate multiple times which is wasteful).',
9 'Urlbar docs: In index.rst, the Architecture Overview link in the Where to Start section is broken In index.rst, the Architecture Overview link in the Where to Start section links to an unrelated page in the devtools docs.',
10]
11embeddings = model.encode(sentences)
12print(embeddings.shape)
13# [3, 768]
14
15# Get the similarity scores for the embeddings
16similarities = model.similarity(embeddings, embeddings)
17print(similarities)
18# tensor([[ 1.0000, -0.7628, -0.7601],
19# [-0.7628, 1.0000, 0.9988],
20# [-0.7601, 0.9988, 1.0000]])bge-base-en-eval and bge-base-en-trainTripletEvaluator| Metric | bge-base-en-eval | bge-base-en-train |
|---|---|---|
| cosine_accuracy | 0.5193 | 0.5367 |
texts and label| texts | label | |
|---|---|---|
| type | string | int |
| details |
|
|
| texts | label |
|---|---|
The "X" button of the opt-in modal is only read as "button" using a screen reader [object Object][object Object]- Firefox Beta 97.0b2 (Build ID: 20220111185943)[object Object]- Firefox Nightly 98.a1 (Build ID: 20220111093827)[object Object][object Object][object Object][object Object]- Windows 10 x64[object Object]- Ubuntu 20.04 x64[object Object]- macOS 10.15.7[object Object][object Object][object Object][object Object]- Have Firefox Beta 97.0b2 downloaded on your computer.[object Object]- Have the "browser.search.region" set to "US".[object Object]- Have one of the [object Object] on your computer.[object Object]- Make sure there is no other modal displayed when starting the browser (browser default window, onboarding for new users etc).[object Object]- Have a screen reader application opened.[object Object][object Object][object Object][object Object]1. Open Firefox Beta 97.0b2.[object Object]2. Navigate to the “about:support” page and paste the user.js file into the Profile folder.[object Object]3. Restart the browser.[object Object]4. Focus on the "X" button of the modal.[object Object]5. Listen to what the screen reader application reads.[object Object][object Object]**[Exp... | 1 |
Text and radio buttons are overlapping on PDF Tested with:[object Object]Nightly 91.0a1 (2021-06-23)[object Object][object Object]Tested on:[object Object]Win 10[object Object][object Object]Preconditions:[object Object]In about:config, set pdfjs.enableXfa = true[object Object][object Object]Steps:[object Object][object Object]1. Launch Firefox[object Object]2. Open the attached pdf.[object Object]3. Go to "Taille de l'entreprise"[object Object][object Object]Actual result:[object Object]Radio buttons and text are overlapping.[object Object][object Object]Expected result:[object Object]Text and radio buttons should be properly displayed | 1 |
opening a new private window shows the old private window start page for a moment with browser.privatebrowsing.felt-privacy-v1, causing a bad perceived performance STR:[object Object][object Object]1. Set browser.privatebrowsing.felt-privacy-v1 to true[object Object]2. Open a private window[object Object][object Object]Actual:[object Object][object Object]The content of the old private window start page is visible during the window creation. This causes a very visible jump of the content and the window creation feels slow. Please see the following screencast:[object Object][object Object][object Object][object Object][object Object]You can change the speed to 0,25 on YouTube to see it even better.[object Object][object Object]Expected:[object Object][object Object]No felt performance issue. | 3 |
BatchSemiHardTripletLosstexts and label| texts | label | |
|---|---|---|
| type | string | int |
| details |
|
|
| texts | label |
|---|---|
(Proton) (a11y) Selected tabs almost not to see STR:[object Object][object Object]1. select multiple tabs[object Object][object Object]Expected:[object Object][object Object]You have no difficulties to see your selected tabs.[object Object][object Object]Actual:[object Object][object Object]It's almost not possible (at least to me) to see the selected tabs due to a insufficient contrast between the tab bar color and the tab color.[object Object][object Object]Marking as regression since it has a11y implications compared to pre Proton. | 2 |
The Not Now button from the Fakespot Onboarding sidebar is missing the Clicked State [object Object][object Object]* Nightly 118.0a1 (2023-08-18)[object Object][object Object][object Object][object Object]* Nightly 118.0a1 (2023-08-18)[object Object][object Object][object Object][object Object]* ALL[object Object][object Object][object Object][object Object]Set the browser.shopping.experience2023.enabled - TRUE[object Object]Set the toolkit.shopping.useOHTTP - TRUE[object Object][object Object][object Object][object Object]1. Reach about:preferences and turn off feature recommendations.[object Object]2. Reach the Amazon [object Object] link [object Object]3. Click and Hold the Not Now button from the Onboarding Shopping sidebar.[object Object][object Object][object Object][object Object]* The Not now button from the Onboarding Shopping sidebar should change its state when Clicked.[object Object][object Object][object Object][object Object]* The Not now button from the Onboarding Shopping sidebar is missing the Clicked state.[object Object][object Object][object Object][object Object]Not Applicable | 1 |
Missing data from table Tested with:[object Object]Nightly 91.0a1 (2021-06-22)[object Object][object Object]Tested on:[object Object]Win 10[object Object][object Object]Preconditions:[object Object]In about:config, set pdfjs.enableXfa = true[object Object][object Object]Steps:[object Object][object Object]1. Launch firefox[object Object]2. Open the attached PDF[object Object][object Object]Actual result:[object Object]No data in table is displayed[object Object][object Object]Expected result:[object Object]A table with data should be displayed | 1 |
BatchSemiHardTripletLosseval_strategy: stepsper_device_train_batch_size: 16per_device_eval_batch_size: 32gradient_accumulation_steps: 8learning_rate: 2e-05num_train_epochs: 7warmup_ratio: 0.1fp16: Truebatch_sampler: no_duplicatesoverwrite_output_dir: Falsedo_predict: Falseeval_strategy: stepsprediction_loss_only: Trueper_device_train_batch_size: 16per_device_eval_batch_size: 32per_gpu_train_batch_size: Noneper_gpu_eval_batch_size: Nonegradient_accumulation_steps: 8eval_accumulation_steps: Nonetorch_empty_cache_steps: Nonelearning_rate: 2e-05weight_decay: 0.0adam_beta1: 0.9adam_beta2: 0.999adam_epsilon: 1e-08max_grad_norm: 1.0num_train_epochs: 7max_steps: -1lr_scheduler_type: linearlr_scheduler_kwargs: {}warmup_ratio: 0.1warmup_steps: 0log_level: passivelog_level_replica: warninglog_on_each_node: Truelogging_nan_inf_filter: Truesave_safetensors: Truesave_on_each_node: Falsesave_only_model: Falserestore_callback_states_from_checkpoint: Falseno_cuda: Falseuse_cpu: Falseuse_mps_device: Falseseed: 42data_seed: Nonejit_mode_eval: Falseuse_ipex: Falsebf16: Falsefp16: Truefp16_opt_level: O1half_precision_backend: autobf16_full_eval: Falsefp16_full_eval: Falsetf32: Nonelocal_rank: 0ddp_backend: Nonetpu_num_cores: Nonetpu_metrics_debug: Falsedebug: []dataloader_drop_last: Falsedataloader_num_workers: 0dataloader_prefetch_factor: Nonepast_index: -1disable_tqdm: Falseremove_unused_columns: Truelabel_names: Noneload_best_model_at_end: Falseignore_data_skip: Falsefsdp: []fsdp_min_num_params: 0fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}fsdp_transformer_layer_cls_to_wrap: Noneaccelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}parallelism_config: Nonedeepspeed: Nonelabel_smoothing_factor: 0.0optim: adamw_torchoptim_args: Noneadafactor: Falsegroup_by_length: Falselength_column_name: lengthddp_find_unused_parameters: Noneddp_bucket_cap_mb: Noneddp_broadcast_buffers: Falsedataloader_pin_memory: Truedataloader_persistent_workers: Falseskip_memory_metrics: Trueuse_legacy_prediction_loop: Falsepush_to_hub: Falseresume_from_checkpoint: Nonehub_model_id: Nonehub_strategy: every_savehub_private_repo: Nonehub_always_push: Falsehub_revision: Nonegradient_checkpointing: Falsegradient_checkpointing_kwargs: Noneinclude_inputs_for_metrics: Falseinclude_for_metrics: []eval_do_concat_batches: Truefp16_backend: autopush_to_hub_model_id: Nonepush_to_hub_organization: Nonemp_parameters:auto_find_batch_size: Falsefull_determinism: Falsetorchdynamo: Noneray_scope: lastddp_timeout: 1800torch_compile: Falsetorch_compile_backend: Nonetorch_compile_mode: Noneinclude_tokens_per_second: Falseinclude_num_input_tokens_seen: Falseneftune_noise_alpha: Noneoptim_target_modules: Nonebatch_eval_metrics: Falseeval_on_start: Falseuse_liger_kernel: Falseliger_kernel_config: Noneeval_use_gather_object: Falseaverage_tokens_across_devices: Falseprompts: Nonebatch_sampler: no_duplicatesmulti_dataset_batch_sampler: proportionalrouter_mapping: {}learning_rate_mapping: {}| Epoch | Step | Training Loss | Validation Loss | bge-base-en-eval_cosine_accuracy | bge-base-en-train_cosine_accuracy |
|---|---|---|---|---|---|
| -1 | -1 | - | - | 0.5073 | - |
| 2.3304 | 100 | 4.9515 | 4.9080 | - | 0.5302 |
| 4.6608 | 200 | 4.8737 | 4.9078 | - | 0.5382 |
| 6.9912 | 300 | 4.8542 | 4.9142 | - | 0.5367 |
| -1 | -1 | - | - | 0.5193 | - |
1@inproceedings{reimers-2019-sentence-bert,
2 title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
3 author = "Reimers, Nils and Gurevych, Iryna",
4 booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
5 month = "11",
6 year = "2019",
7 publisher = "Association for Computational Linguistics",
8 url = "https://arxiv.org/abs/1908.10084",
9}1@misc{hermans2017defense,
2 title={In Defense of the Triplet Loss for Person Re-Identification},
3 author={Alexander Hermans and Lucas Beyer and Bastian Leibe},
4 year={2017},
5 eprint={1703.07737},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV}
8}