transformers
728 строк · 27.4 Кб
1# coding=utf-8
2# Copyright 2021 The HuggingFace Inc. team. All rights reserved.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
17from __future__ import annotations18
19import unittest20
21from transformers import RemBertConfig, is_tf_available22from transformers.testing_utils import require_tf, slow23
24from ...test_configuration_common import ConfigTester25from ...test_modeling_tf_common import TFModelTesterMixin, floats_tensor, ids_tensor, random_attention_mask26from ...test_pipeline_mixin import PipelineTesterMixin27
28
29if is_tf_available():30import tensorflow as tf31
32from transformers import (33TFRemBertForCausalLM,34TFRemBertForMaskedLM,35TFRemBertForMultipleChoice,36TFRemBertForQuestionAnswering,37TFRemBertForSequenceClassification,38TFRemBertForTokenClassification,39TFRemBertModel,40)41
42
43class TFRemBertModelTester:44def __init__(45self,46parent,47batch_size=13,48seq_length=7,49is_training=True,50use_input_mask=True,51use_token_type_ids=True,52use_labels=True,53vocab_size=99,54hidden_size=32,55input_embedding_size=18,56output_embedding_size=43,57num_hidden_layers=2,58num_attention_heads=4,59intermediate_size=37,60hidden_act="gelu",61hidden_dropout_prob=0.1,62attention_probs_dropout_prob=0.1,63max_position_embeddings=512,64type_vocab_size=16,65type_sequence_label_size=2,66initializer_range=0.02,67num_labels=3,68num_choices=4,69scope=None,70):71self.parent = parent72self.batch_size = 1373self.seq_length = 774self.is_training = True75self.use_input_mask = True76self.use_token_type_ids = True77self.use_labels = True78self.vocab_size = 9979self.hidden_size = 3280self.input_embedding_size = input_embedding_size81self.output_embedding_size = output_embedding_size82self.num_hidden_layers = 283self.num_attention_heads = 484self.intermediate_size = 3785self.hidden_act = "gelu"86self.hidden_dropout_prob = 0.187self.attention_probs_dropout_prob = 0.188self.max_position_embeddings = 51289self.type_vocab_size = 1690self.type_sequence_label_size = 291self.initializer_range = 0.0292self.num_labels = 393self.num_choices = 494self.scope = None95
96def prepare_config_and_inputs(self):97input_ids = ids_tensor([self.batch_size, self.seq_length], self.vocab_size)98
99input_mask = None100if self.use_input_mask:101input_mask = random_attention_mask([self.batch_size, self.seq_length])102
103token_type_ids = None104if self.use_token_type_ids:105token_type_ids = ids_tensor([self.batch_size, self.seq_length], self.type_vocab_size)106
107sequence_labels = None108token_labels = None109choice_labels = None110if self.use_labels:111sequence_labels = ids_tensor([self.batch_size], self.type_sequence_label_size)112token_labels = ids_tensor([self.batch_size, self.seq_length], self.num_labels)113choice_labels = ids_tensor([self.batch_size], self.num_choices)114
115config = RemBertConfig(116vocab_size=self.vocab_size,117hidden_size=self.hidden_size,118input_embedding_size=self.input_embedding_size,119output_embedding_size=self.output_embedding_size,120num_hidden_layers=self.num_hidden_layers,121num_attention_heads=self.num_attention_heads,122intermediate_size=self.intermediate_size,123hidden_act=self.hidden_act,124hidden_dropout_prob=self.hidden_dropout_prob,125attention_probs_dropout_prob=self.attention_probs_dropout_prob,126max_position_embeddings=self.max_position_embeddings,127type_vocab_size=self.type_vocab_size,128initializer_range=self.initializer_range,129return_dict=True,130)131
132return config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels133
134def prepare_config_and_inputs_for_decoder(self):135(136config,137input_ids,138token_type_ids,139input_mask,140sequence_labels,141token_labels,142choice_labels,143) = self.prepare_config_and_inputs()144
145config.is_decoder = True146encoder_hidden_states = floats_tensor([self.batch_size, self.seq_length, self.hidden_size])147encoder_attention_mask = ids_tensor([self.batch_size, self.seq_length], vocab_size=2)148
149return (150config,151input_ids,152token_type_ids,153input_mask,154sequence_labels,155token_labels,156choice_labels,157encoder_hidden_states,158encoder_attention_mask,159)160
161def create_and_check_model(162self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels163):164model = TFRemBertModel(config=config)165inputs = {"input_ids": input_ids, "attention_mask": input_mask, "token_type_ids": token_type_ids}166
167inputs = [input_ids, input_mask]168result = model(inputs)169
170result = model(input_ids)171
172self.parent.assertEqual(result.last_hidden_state.shape, (self.batch_size, self.seq_length, self.hidden_size))173
174def create_and_check_causal_lm_base_model(175self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels176):177config.is_decoder = True178
179model = TFRemBertModel(config=config)180inputs = {"input_ids": input_ids, "attention_mask": input_mask, "token_type_ids": token_type_ids}181result = model(inputs)182
183inputs = [input_ids, input_mask]184result = model(inputs)185
186result = model(input_ids)187
188self.parent.assertEqual(result.last_hidden_state.shape, (self.batch_size, self.seq_length, self.hidden_size))189
190def create_and_check_model_as_decoder(191self,192config,193input_ids,194token_type_ids,195input_mask,196sequence_labels,197token_labels,198choice_labels,199encoder_hidden_states,200encoder_attention_mask,201):202config.add_cross_attention = True203
204model = TFRemBertModel(config=config)205inputs = {206"input_ids": input_ids,207"attention_mask": input_mask,208"token_type_ids": token_type_ids,209"encoder_hidden_states": encoder_hidden_states,210"encoder_attention_mask": encoder_attention_mask,211}212result = model(inputs)213
214inputs = [input_ids, input_mask]215result = model(inputs, token_type_ids=token_type_ids, encoder_hidden_states=encoder_hidden_states)216
217# Also check the case where encoder outputs are not passed218result = model(input_ids, attention_mask=input_mask, token_type_ids=token_type_ids)219
220self.parent.assertEqual(result.last_hidden_state.shape, (self.batch_size, self.seq_length, self.hidden_size))221
222def create_and_check_causal_lm_model(223self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels224):225config.is_decoder = True226model = TFRemBertForCausalLM(config=config)227inputs = {228"input_ids": input_ids,229"attention_mask": input_mask,230"token_type_ids": token_type_ids,231}232prediction_scores = model(inputs)["logits"]233self.parent.assertListEqual(234list(prediction_scores.numpy().shape), [self.batch_size, self.seq_length, self.vocab_size]235)236
237def create_and_check_causal_lm_model_as_decoder(238self,239config,240input_ids,241token_type_ids,242input_mask,243sequence_labels,244token_labels,245choice_labels,246encoder_hidden_states,247encoder_attention_mask,248):249config.add_cross_attention = True250
251model = TFRemBertForCausalLM(config=config)252inputs = {253"input_ids": input_ids,254"attention_mask": input_mask,255"token_type_ids": token_type_ids,256"encoder_hidden_states": encoder_hidden_states,257"encoder_attention_mask": encoder_attention_mask,258}259result = model(inputs)260
261inputs = [input_ids, input_mask]262result = model(inputs, token_type_ids=token_type_ids, encoder_hidden_states=encoder_hidden_states)263
264prediction_scores = result["logits"]265self.parent.assertListEqual(266list(prediction_scores.numpy().shape), [self.batch_size, self.seq_length, self.vocab_size]267)268
269def create_and_check_causal_lm_model_past(270self,271config,272input_ids,273token_type_ids,274input_mask,275sequence_labels,276token_labels,277choice_labels,278):279config.is_decoder = True280
281model = TFRemBertForCausalLM(config=config)282
283# first forward pass284outputs = model(input_ids, use_cache=True)285outputs_use_cache_conf = model(input_ids)286outputs_no_past = model(input_ids, use_cache=False)287
288self.parent.assertTrue(len(outputs) == len(outputs_use_cache_conf))289self.parent.assertTrue(len(outputs) == len(outputs_no_past) + 1)290
291past_key_values = outputs.past_key_values292
293# create hypothetical next token and extent to next_input_ids294next_tokens = ids_tensor((self.batch_size, 1), config.vocab_size)295
296# append to next input_ids and attn_mask297next_input_ids = tf.concat([input_ids, next_tokens], axis=-1)298
299output_from_no_past = model(next_input_ids, output_hidden_states=True).hidden_states[0]300output_from_past = model(301next_tokens, past_key_values=past_key_values, output_hidden_states=True302).hidden_states[0]303
304# select random slice305random_slice_idx = int(ids_tensor((1,), output_from_past.shape[-1]))306output_from_no_past_slice = output_from_no_past[:, -1, random_slice_idx]307output_from_past_slice = output_from_past[:, 0, random_slice_idx]308
309# test that outputs are equal for slice310tf.debugging.assert_near(output_from_past_slice, output_from_no_past_slice, rtol=1e-6)311
312def create_and_check_causal_lm_model_past_with_attn_mask(313self,314config,315input_ids,316token_type_ids,317input_mask,318sequence_labels,319token_labels,320choice_labels,321):322config.is_decoder = True323
324model = TFRemBertForCausalLM(config=config)325
326# create attention mask327half_seq_length = self.seq_length // 2328attn_mask_begin = tf.ones((self.batch_size, half_seq_length), dtype=tf.int32)329attn_mask_end = tf.zeros((self.batch_size, self.seq_length - half_seq_length), dtype=tf.int32)330attn_mask = tf.concat([attn_mask_begin, attn_mask_end], axis=1)331
332# first forward pass333outputs = model(input_ids, attention_mask=attn_mask, use_cache=True)334
335# create hypothetical next token and extent to next_input_ids336next_tokens = ids_tensor((self.batch_size, 1), config.vocab_size)337
338past_key_values = outputs.past_key_values339
340# change a random masked slice from input_ids341random_seq_idx_to_change = ids_tensor((1,), half_seq_length).numpy() + 1342random_other_next_tokens = ids_tensor((self.batch_size, self.seq_length), config.vocab_size)343vector_condition = tf.range(self.seq_length) == (self.seq_length - random_seq_idx_to_change)344condition = tf.transpose(345tf.broadcast_to(tf.expand_dims(vector_condition, -1), (self.seq_length, self.batch_size))346)347input_ids = tf.where(condition, random_other_next_tokens, input_ids)348
349# append to next input_ids and350next_input_ids = tf.concat([input_ids, next_tokens], axis=-1)351attn_mask = tf.concat(352[attn_mask, tf.ones((attn_mask.shape[0], 1), dtype=tf.int32)],353axis=1,354)355
356output_from_no_past = model(357next_input_ids,358attention_mask=attn_mask,359output_hidden_states=True,360).hidden_states[0]361output_from_past = model(362next_tokens, past_key_values=past_key_values, attention_mask=attn_mask, output_hidden_states=True363).hidden_states[0]364
365# select random slice366random_slice_idx = int(ids_tensor((1,), output_from_past.shape[-1]))367output_from_no_past_slice = output_from_no_past[:, -1, random_slice_idx]368output_from_past_slice = output_from_past[:, 0, random_slice_idx]369
370# test that outputs are equal for slice371tf.debugging.assert_near(output_from_past_slice, output_from_no_past_slice, rtol=1e-6)372
373def create_and_check_causal_lm_model_past_large_inputs(374self,375config,376input_ids,377token_type_ids,378input_mask,379sequence_labels,380token_labels,381choice_labels,382):383config.is_decoder = True384
385model = TFRemBertForCausalLM(config=config)386
387input_ids = input_ids[:1, :]388input_mask = input_mask[:1, :]389self.batch_size = 1390
391# first forward pass392outputs = model(input_ids, attention_mask=input_mask, use_cache=True)393past_key_values = outputs.past_key_values394
395# create hypothetical next token and extent to next_input_ids396next_tokens = ids_tensor((self.batch_size, 3), config.vocab_size)397next_attn_mask = ids_tensor((self.batch_size, 3), 2)398
399# append to next input_ids and400next_input_ids = tf.concat([input_ids, next_tokens], axis=-1)401next_attention_mask = tf.concat([input_mask, next_attn_mask], axis=-1)402
403output_from_no_past = model(404next_input_ids,405attention_mask=next_attention_mask,406output_hidden_states=True,407).hidden_states[0]408output_from_past = model(409next_tokens,410attention_mask=next_attention_mask,411past_key_values=past_key_values,412output_hidden_states=True,413).hidden_states[0]414
415self.parent.assertEqual(next_tokens.shape[1], output_from_past.shape[1])416
417# select random slice418random_slice_idx = int(ids_tensor((1,), output_from_past.shape[-1]))419output_from_no_past_slice = output_from_no_past[:, -3:, random_slice_idx]420output_from_past_slice = output_from_past[:, :, random_slice_idx]421
422# test that outputs are equal for slice423tf.debugging.assert_near(output_from_past_slice, output_from_no_past_slice, rtol=1e-3)424
425def create_and_check_decoder_model_past_large_inputs(426self,427config,428input_ids,429token_type_ids,430input_mask,431sequence_labels,432token_labels,433choice_labels,434encoder_hidden_states,435encoder_attention_mask,436):437config.add_cross_attention = True438
439model = TFRemBertForCausalLM(config=config)440
441input_ids = input_ids[:1, :]442input_mask = input_mask[:1, :]443encoder_hidden_states = encoder_hidden_states[:1, :, :]444encoder_attention_mask = encoder_attention_mask[:1, :]445self.batch_size = 1446
447# first forward pass448outputs = model(449input_ids,450attention_mask=input_mask,451encoder_hidden_states=encoder_hidden_states,452encoder_attention_mask=encoder_attention_mask,453use_cache=True,454)455past_key_values = outputs.past_key_values456
457# create hypothetical next token and extent to next_input_ids458next_tokens = ids_tensor((self.batch_size, 3), config.vocab_size)459next_attn_mask = ids_tensor((self.batch_size, 3), 2)460
461# append to next input_ids and462next_input_ids = tf.concat([input_ids, next_tokens], axis=-1)463next_attention_mask = tf.concat([input_mask, next_attn_mask], axis=-1)464
465output_from_no_past = model(466next_input_ids,467attention_mask=next_attention_mask,468encoder_hidden_states=encoder_hidden_states,469encoder_attention_mask=encoder_attention_mask,470output_hidden_states=True,471).hidden_states[0]472output_from_past = model(473next_tokens,474attention_mask=next_attention_mask,475encoder_hidden_states=encoder_hidden_states,476encoder_attention_mask=encoder_attention_mask,477past_key_values=past_key_values,478output_hidden_states=True,479).hidden_states[0]480
481self.parent.assertEqual(next_tokens.shape[1], output_from_past.shape[1])482
483# select random slice484random_slice_idx = int(ids_tensor((1,), output_from_past.shape[-1]))485output_from_no_past_slice = output_from_no_past[:, -3:, random_slice_idx]486output_from_past_slice = output_from_past[:, :, random_slice_idx]487
488# test that outputs are equal for slice489tf.debugging.assert_near(output_from_past_slice, output_from_no_past_slice, rtol=1e-3)490
491def create_and_check_for_masked_lm(492self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels493):494model = TFRemBertForMaskedLM(config=config)495inputs = {496"input_ids": input_ids,497"attention_mask": input_mask,498"token_type_ids": token_type_ids,499}500result = model(inputs)501self.parent.assertEqual(result.logits.shape, (self.batch_size, self.seq_length, self.vocab_size))502
503def create_and_check_for_sequence_classification(504self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels505):506config.num_labels = self.num_labels507model = TFRemBertForSequenceClassification(config=config)508inputs = {509"input_ids": input_ids,510"attention_mask": input_mask,511"token_type_ids": token_type_ids,512}513
514result = model(inputs)515self.parent.assertEqual(result.logits.shape, (self.batch_size, self.num_labels))516
517def create_and_check_for_multiple_choice(518self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels519):520config.num_choices = self.num_choices521model = TFRemBertForMultipleChoice(config=config)522multiple_choice_inputs_ids = tf.tile(tf.expand_dims(input_ids, 1), (1, self.num_choices, 1))523multiple_choice_input_mask = tf.tile(tf.expand_dims(input_mask, 1), (1, self.num_choices, 1))524multiple_choice_token_type_ids = tf.tile(tf.expand_dims(token_type_ids, 1), (1, self.num_choices, 1))525inputs = {526"input_ids": multiple_choice_inputs_ids,527"attention_mask": multiple_choice_input_mask,528"token_type_ids": multiple_choice_token_type_ids,529}530result = model(inputs)531self.parent.assertEqual(result.logits.shape, (self.batch_size, self.num_choices))532
533def create_and_check_for_token_classification(534self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels535):536config.num_labels = self.num_labels537model = TFRemBertForTokenClassification(config=config)538inputs = {539"input_ids": input_ids,540"attention_mask": input_mask,541"token_type_ids": token_type_ids,542}543result = model(inputs)544self.parent.assertEqual(result.logits.shape, (self.batch_size, self.seq_length, self.num_labels))545
546def create_and_check_for_question_answering(547self, config, input_ids, token_type_ids, input_mask, sequence_labels, token_labels, choice_labels548):549model = TFRemBertForQuestionAnswering(config=config)550inputs = {551"input_ids": input_ids,552"attention_mask": input_mask,553"token_type_ids": token_type_ids,554}555
556result = model(inputs)557self.parent.assertEqual(result.start_logits.shape, (self.batch_size, self.seq_length))558self.parent.assertEqual(result.end_logits.shape, (self.batch_size, self.seq_length))559
560def prepare_config_and_inputs_for_common(self):561config_and_inputs = self.prepare_config_and_inputs()562(563config,564input_ids,565token_type_ids,566input_mask,567sequence_labels,568token_labels,569choice_labels,570) = config_and_inputs571inputs_dict = {"input_ids": input_ids, "token_type_ids": token_type_ids, "attention_mask": input_mask}572return config, inputs_dict573
574
575@require_tf
576class TFRemBertModelTest(TFModelTesterMixin, PipelineTesterMixin, unittest.TestCase):577all_model_classes = (578(579TFRemBertModel,580TFRemBertForCausalLM,581TFRemBertForMaskedLM,582TFRemBertForQuestionAnswering,583TFRemBertForSequenceClassification,584TFRemBertForTokenClassification,585TFRemBertForMultipleChoice,586)587if is_tf_available()588else ()589)590pipeline_model_mapping = (591{592"feature-extraction": TFRemBertModel,593"fill-mask": TFRemBertForMaskedLM,594"question-answering": TFRemBertForQuestionAnswering,595"text-classification": TFRemBertForSequenceClassification,596"text-generation": TFRemBertForCausalLM,597"token-classification": TFRemBertForTokenClassification,598"zero-shot": TFRemBertForSequenceClassification,599}600if is_tf_available()601else {}602)603
604test_head_masking = False605test_onnx = False606
607def setUp(self):608self.model_tester = TFRemBertModelTester(self)609self.config_tester = ConfigTester(self, config_class=RemBertConfig, hidden_size=37)610
611def test_config(self):612self.config_tester.run_common_tests()613
614def test_model(self):615"""Test the base model"""616config_and_inputs = self.model_tester.prepare_config_and_inputs()617self.model_tester.create_and_check_model(*config_and_inputs)618
619def test_causal_lm_base_model(self):620"""Test the base model of the causal LM model621
622is_deocder=True, no cross_attention, no encoder outputs
623"""
624config_and_inputs = self.model_tester.prepare_config_and_inputs()625self.model_tester.create_and_check_causal_lm_base_model(*config_and_inputs)626
627def test_model_as_decoder(self):628"""Test the base model as a decoder (of an encoder-decoder architecture)629
630is_deocder=True + cross_attention + pass encoder outputs
631"""
632config_and_inputs = self.model_tester.prepare_config_and_inputs_for_decoder()633self.model_tester.create_and_check_model_as_decoder(*config_and_inputs)634
635def test_for_masked_lm(self):636config_and_inputs = self.model_tester.prepare_config_and_inputs()637self.model_tester.create_and_check_for_masked_lm(*config_and_inputs)638
639def test_for_causal_lm(self):640"""Test the causal LM model"""641config_and_inputs = self.model_tester.prepare_config_and_inputs()642self.model_tester.create_and_check_causal_lm_model(*config_and_inputs)643
644def test_causal_lm_model_as_decoder(self):645"""Test the causal LM model as a decoder"""646config_and_inputs = self.model_tester.prepare_config_and_inputs_for_decoder()647self.model_tester.create_and_check_causal_lm_model_as_decoder(*config_and_inputs)648
649def test_causal_lm_model_past(self):650"""Test causal LM model with `past_key_values`"""651config_and_inputs = self.model_tester.prepare_config_and_inputs()652self.model_tester.create_and_check_causal_lm_model_past(*config_and_inputs)653
654def test_causal_lm_model_past_with_attn_mask(self):655"""Test the causal LM model with `past_key_values` and `attention_mask`"""656config_and_inputs = self.model_tester.prepare_config_and_inputs()657self.model_tester.create_and_check_causal_lm_model_past_with_attn_mask(*config_and_inputs)658
659def test_causal_lm_model_past_with_large_inputs(self):660"""Test the causal LM model with `past_key_values` and a longer decoder sequence length"""661config_and_inputs = self.model_tester.prepare_config_and_inputs()662self.model_tester.create_and_check_causal_lm_model_past_large_inputs(*config_and_inputs)663
664def test_decoder_model_past_with_large_inputs(self):665"""Similar to `test_causal_lm_model_past_with_large_inputs` but with cross-attention"""666config_and_inputs = self.model_tester.prepare_config_and_inputs_for_decoder()667self.model_tester.create_and_check_decoder_model_past_large_inputs(*config_and_inputs)668
669def test_for_multiple_choice(self):670config_and_inputs = self.model_tester.prepare_config_and_inputs()671self.model_tester.create_and_check_for_multiple_choice(*config_and_inputs)672
673def test_for_question_answering(self):674config_and_inputs = self.model_tester.prepare_config_and_inputs()675self.model_tester.create_and_check_for_question_answering(*config_and_inputs)676
677def test_for_sequence_classification(self):678config_and_inputs = self.model_tester.prepare_config_and_inputs()679self.model_tester.create_and_check_for_sequence_classification(*config_and_inputs)680
681def test_for_token_classification(self):682config_and_inputs = self.model_tester.prepare_config_and_inputs()683self.model_tester.create_and_check_for_token_classification(*config_and_inputs)684
685@slow686def test_model_from_pretrained(self):687model = TFRemBertModel.from_pretrained("google/rembert")688self.assertIsNotNone(model)689
690
691@require_tf
692class TFRemBertModelIntegrationTest(unittest.TestCase):693@slow694def test_inference_model(self):695model = TFRemBertModel.from_pretrained("google/rembert")696
697input_ids = tf.constant([[312, 56498, 313, 2125, 313]])698segment_ids = tf.constant([[0, 0, 0, 1, 1]])699output = model(input_ids, token_type_ids=segment_ids, output_hidden_states=True)700
701hidden_size = 1152702
703expected_shape = [1, 5, hidden_size]704self.assertEqual(output["last_hidden_state"].shape, expected_shape)705
706expected_implementation = tf.constant(707[708[709[0.0754, -0.2022, 0.1904],710[-0.3354, -0.3692, -0.4791],711[-0.2314, -0.6729, -0.0749],712[-0.0396, -0.3105, -0.4234],713[-0.1571, -0.0525, 0.5353],714]715]716)717tf.debugging.assert_near(output["last_hidden_state"][:, :, :3], expected_implementation, atol=1e-4)718
719# Running on the original tf implementation gives slightly different results here.720# Not clear why this variations is present721# TODO: Find reason for discrepancy722# expected_original_implementation = [[723# [0.07630594074726105, -0.20146065950393677, 0.19107051193714142],724# [-0.3405614495277405, -0.36971670389175415, -0.4808273911476135],725# [-0.22587086260318756, -0.6656315922737122, -0.07844287157058716],726# [-0.04145475849509239, -0.3077218234539032, -0.42316967248916626],727# [-0.15887849032878876, -0.054529931396245956, 0.5356100797653198]728# ]]729