style(g05): standardize new file headers

This commit is contained in:
Pepijn
2026-07-30 11:16:29 +02:00
parent 8aec9a1bb7
commit eb9a4dae79
12 changed files with 74 additions and 11 deletions
+16
View File
@@ -1,3 +1,19 @@
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""OpenGalaxea G0.5 policy integration."""
from .configuration_g05 import G05Config
+3 -1
View File
@@ -1,4 +1,6 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -1,4 +1,6 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -1,4 +1,6 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -1,4 +1,6 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
+9 -1
View File
@@ -1,10 +1,18 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""First-class LeRobot wrapper around the community-licensed G0.5 implementation."""
+3 -1
View File
@@ -1,4 +1,6 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
+3 -1
View File
@@ -1,4 +1,6 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
+9 -1
View File
@@ -1,10 +1,18 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Serializable preprocessing and inverse projection for G0.5."""
+4 -1
View File
@@ -1,10 +1,13 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+15 -1
View File
@@ -1,4 +1,18 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import annotations
+3 -1
View File
@@ -1,4 +1,6 @@
# Copyright 2026 The HuggingFace Inc. team. All rights reserved.
#!/usr/bin/env python
# Copyright 2026 HuggingFace Inc. team. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.